all repos — dotfiles @ 16a4095a2f862ce561b60fcb985697fe5902c998

my *nix dotfiles

Update bin/nim-proj.sh to create a `.travis.yml`

Signed-off-by: Anirudh <icyph0x@pm.me>
Anirudh icyph0x@pm.me
Sat, 24 Nov 2018 16:30:26 +0530
commit

16a4095a2f862ce561b60fcb985697fe5902c998

parent

81639b2669e508b3e039bde461180bbcb9429f86

2 files changed, 65 insertions(+), 4 deletions(-)

jump to
M bin/nim-projbin/nim-proj

@@ -10,10 +10,72 @@

if [ $# -eq 2 ]; then nimble init $1 cd $1 + cat <<- EOF > readme.md # $1 > $2 EOF + + cat <<- "EOF" > .travis.yml + language: c + + cache: ccache + cache: + directories: + - .cache + + matrix: + include: + - os: linux + env: CHANNEL=stable + compiler: gcc + + - os: linux + env: CHANNEL=devel + compiler: gcc + + - os: osx + env: CHANNEL=stable + compiler: clang + + allow_failures: + - env: CHANNEL=devel + - os: osx + + fast_finish: true + + env: + global: + - PROGNAME="$(basename ${TRAVIS_BUILD_DIR})" + - NIMFILE="src/${PROGNAME}.nim" + - BINFILE="src/${PROGNAME}" + - ASSETFILE="${PROGNAME}-${TRAVIS_TAG}-linux64" + + install: + - export CHOOSENIM_NO_ANALYTICS=1 + - curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh + - sh init.sh -y + - export PATH=~/.nimble/bin:$PATH + - echo "export PATH=~/.nimble/bin:$PATH" >> ~/.profile + - choosenim $CHANNEL + + script: + - cd "${TRAVIS_BUILD_DIR}" + - nim c "${NIMFILE}" + - "${BINFILE}" + + before_deploy: + - cd "${TRAVIS_BUILD_DIR}" + - cp "${BINFILE}" "${ASSETFILE}" + deploy: + provider: releases + api_key: "${GITHUB_OAUTH_TOKEN}" + file: "${ASSETFILE}" + skip_cleanup: true + on: + tags: true + EOF + git init else help
M weechat/weechat.confweechat/weechat.conf

@@ -380,10 +380,9 @@ default.buffer = "irc;server.rizon;1"

default.buffer = "irc;rizon.#rice;2" default.buffer = "irc;rizon.#code;3" default.buffer = "irc;rizon.#homescreen;4" -default.buffer = "irc;rizon.cappuccino;5" -default.buffer = "irc;rizon.#avpd;6" -default.buffer = "irc;rizon.#linux;7" -default.window = "1;0;0;0;irc;rizon.#homescreen" +default.buffer = "irc;rizon.#avpd;5" +default.buffer = "irc;rizon.#linux;6" +default.window = "1;0;0;0;irc;rizon.#rice" default.current = on [notify]