mirror of
https://github.com/emojisum/emojisum.git
synced 2024-11-23 16:05:40 +00:00
travis test for rust
This commit is contained in:
parent
07599ca283
commit
bc7bf711c9
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,8 @@ notifications:
|
|||
on_failure: always
|
||||
|
||||
before_install:
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install -y cargo
|
||||
- git config --global url."https://".insteadOf git://
|
||||
- go get -d ./...
|
||||
- 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 test -v ./...
|
||||
- go build .
|
||||
- if [[ "$(go version |awk '{ print $3 }')" =~ ^go1\.11\. ]] ; then cd ./contrib/emojisum-rs && cargo test ; fi
|
||||
|
|
Loading…
Reference in a new issue