forked from Byron/google-apis-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (34 loc) · 822 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
dist: bionic
sudo: false
language: rust
os:
- osx
rust:
- stable
- nightly
matrix:
allow_failures:
- rust: nightly
before_install:
- pyenv versions
- pyenv install --skip-existing "${PYENV_VERSION}"
- pyenv versions
- pyenv global "${PYENV_VERSION}"
- pyenv version
script:
- make test-gen
- make gen-all-cli cargo-api ARGS=test
- make cargo-api ARGS=doc
- "if [[ $TRAVIS_RUST_VERSION = nightly ]]; then cargo test; fi"
after_success:
- make codecov-upload
env:
global:
- PYENV_VERSION: 2.7.13
- PYENV_ROOT: $HOME/.pyenv
- secure: Plj5DqAQX/4+KPM+nOAZ2sCbGIsoSrHo1YggfesQnU7paR734XO/4IayWnsNO/3q6bDi4GIcn56RUZAD3xBJJBNLia2CYIickIIYORRqLWbLdbzQaxBbD670ahtzEuUSFJTRKURPwFteAnsWYgNMNzwXOVNwLS5IUBqWTcS+N0g=
cache:
cargo: true
pip: true
directories:
- $HOME/.pyenv