From bc7bf711c9dab2f50e8f331d600aca50d44aaa79 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Sun, 10 Mar 2019 22:48:25 -0400 Subject: [PATCH] travis test for rust --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 591c5d5..ec5f7fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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