-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
52 lines (52 loc) · 964 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
43
44
45
46
47
48
49
50
51
52
language: go
go_import_path: github.com/tangerine-network/tangerine-consensus
os: linux
dist: trusty
sudo: required
go: 1.11.x
addons:
apt:
packages:
- openssl
- libssl-dev
- libgmp-dev
script:
- set -e
- bin/install_tools.sh
- dep ensure -v
- make dep
- |
if [ "${TRAVIS_PULL_REQUEST_BRANCH}" == "" ] && [ "${TRAVIS_BRANCH}" == "master" ]; then
make test
else
make test-short
fi
- make
git:
depth: 3
cache:
directories:
- vendor
before_cache:
- rm -rf vendor/github.com/tangerine-network/bls
- rm -rf vendor/github.com/tangerine-network/mcl
env:
- ONLY_INTEGRATION_TEST=true NO_TEST_RACE=true
- ONLY_INTEGRATION_TEST=true
- NO_INTEGRATION_TEST=true
matrix:
allow_failures:
- env: ONLY_INTEGRATION_TEST=true
fast_finish: true
include:
- name: Lint
script:
- set -e
- bin/install_tools.sh
- dep ensure -v
- make dep
- make lint
- make vet
# notifications:
# slack:
# secure: "TOKEN"