-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 967 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
# Configuration based on https://github.com/korfuri/bazel-travis
sudo: false
os: linux
dist: xenial
language: python
python:
- "3.6"
# cache:
# directories:
# - $HOME/.bazelcache
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- wget
- pkg-config
before_install:
# - sudo chown -R travis:travis /home/travis/
- export CODECOV_TOKEN="b6b71db9-b2b2-4529-acdf-cf2d5d55c3b7"
- pip install codecov
- curl -L -o bazel-0.25.2-installer-linux-x86_64.sh https://github.com/bazelbuild/bazel/releases/download/0.25.2/bazel-0.25.2-installer-linux-x86_64.sh
- chmod +x bazel-0.25.2-installer-linux-x86_64.sh
- ./bazel-0.25.2-installer-linux-x86_64.sh --user
script:
# - bazel build examples/... --experimental_repository_cache=$HOME/.bazelcache
- bazel build //colugo:all
- bazel test --test_output=errors --noshow_progress //colugo:all
- coverage run ./bazel-bin/colugo/test_node
after_success:
- codecov