Update config for Travis CI

Signed-off-by: Jingwen Peng <pengsrc@yunify.com>
This commit is contained in:
Jingwen Peng 2017-07-17 21:52:56 +08:00 committed by Aspire
parent f8a0f37a27
commit 8d0a7fddab
1 changed files with 9 additions and 1 deletions

View File

@ -25,11 +25,19 @@ before_install:
pushd make-4.0 && ./configure && make && popd;
fi
- pushd make-4.0 && sudo make install && popd
- if [[ ! -d "./snips-v0.1.0" ]]; then
wget https://github.com/yunify/snips/releases/download/v0.1.0/snips-v0.1.0-linux_amd64.tar.gz &&
mkdir snips-v0.1.0 &&
pushd snips-v0.1.0 &&
tar -vxzf ../snips-v0.1.0-linux_amd64.tar.gz &&
popd;
fi
- pushd snips-v0.1.0 && sudo cp snips /usr/local/bin && popd
- popd
- /usr/local/bin/make --version
- /usr/local/bin/snips --version
install:
- go get -u github.com/yunify/snips
- go get -u github.com/golang/lint/golint;
script: