-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (40 loc) · 887 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
jobs:
include:
- stage: unit test
os: linux
dist: xenial
language:
- go
- python
go: 1.13.x
python: '3.8'
cache:
- pip3
- directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod
- $HOME/.cargo
- $HOME/.pyenv_cache
- friday
script:
# Build
- python3 setup.py install
# Tests
- pytest -s tests/* --cov
after_success:
- bash <(curl -s https://codecov.io/bash)
addons:
homebrew:
package: curl
apt:
packages:
- curl
- python3-pip
before_install:
- pyenv install 3.6.3 && pyenv global 3.6.3
- bash scripts/travis_ci_prerequisites.sh
- export PATH="$PATH:$HOME/.cargo/bin"
- export PATH="$PATH:$HOME/protoc/bin"
install:
- npm install -g [email protected]
- make setup