forked from iotexproject/iotex-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (39 loc) · 1001 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
os:
- windows
- osx
- linux
language: go
env:
global:
- USER="iotexproject"
- REPO="iotex-core"
- LD_LIBRARY_PATH=:${TRAVIS_HOME}/gopath/src/github.com/iotexproject/iotex-core/crypto/lib
git:
depth: 3
quiet: true
go:
# - 1.10.x
- "1.11.5"
# - "1.11.6"
# - 1.12.x
# services:
# - rabbitmq
# env:
# - GO111MODULE=on AMQP_URL=amqp://guest:[email protected]:5672/
# before_install:
# - go get -v golang.org/x/lint/golint
before_script:
- if [[ $TRAVIS_OS_NAME == windows ]]; then
mkdir -p ${TRAVIS_HOME}/gopath/src/github.com/$USER/$REPO;
tar -Pczf ${TRAVIS_TMPDIR}/src_archive.tar.gz -C ${TRAVIS_BUILD_DIR} . ;
tar -Pxzf ${TRAVIS_TMPDIR}/src_archive.tar.gz -C ${TRAVIS_HOME}/gopath/src/github.com/$USER/$REPO;
cd ${TRAVIS_HOME}/gopath/src/github.com/$USER/$REPO;
fi
script:
- pwd
- ./go.test.sh
after_success:
- bash <(curl -s https://codecov.io/bash)
# - go test -cpu=1,2 -v -tags integration ./...
- go test -run=XXX -bench=. $(go list ./crypto)
- make minicluster