1
0
Fork 0
mirror of https://github.com/emojisum/emojisum.git synced 2024-11-27 09:45:40 +00:00

travis test for rust

This commit is contained in:
Vincent Batts 2019-03-10 22:48:25 -04:00
parent 07599ca283
commit bc7bf711c9

View file

@ -24,6 +24,8 @@ notifications:
on_failure: always on_failure: always
before_install: before_install:
- sudo apt-get update
- sudo apt-get install -y cargo
- git config --global url."https://".insteadOf git:// - git config --global url."https://".insteadOf git://
- go get -d ./... - go get -d ./...
- if [[ "$(go version |awk '{ print $3 }')" =~ ^go1\.11\. ]] ; then go get -u golang.org/x/lint/golint ; fi - if [[ "$(go version |awk '{ print $3 }')" =~ ^go1\.11\. ]] ; then go get -u golang.org/x/lint/golint ; fi
@ -35,3 +37,4 @@ script:
- go vet ./... - go vet ./...
- go test -v ./... - go test -v ./...
- go build . - go build .
- if [[ "$(go version |awk '{ print $3 }')" =~ ^go1\.11\. ]] ; then cd ./contrib/emojisum-rs && cargo test ; fi