mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2025-12-26 17:02:24 +01:00
It looks like Mako works differently in more recent versions, might be related to PYTHONPATH. I simply don't want to deal with this, let's be happy it still works somewhere.
40 lines
822 B
YAML
40 lines
822 B
YAML
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
|