blob: e36010fe2ba4145af0bf7b6f5c057511f2abc332 (
plain) (
blame)
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"
|