mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2025-12-26 17:02:24 +01:00
Remove Travis
This commit is contained in:
4
.github/workflows/rust.yml
vendored
4
.github/workflows/rust.yml
vendored
@@ -18,7 +18,9 @@ jobs:
|
|||||||
build-and-test:
|
build-and-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
TRAVIS: true # emulate CI, some code depends on it to do less work
|
# The environment variable is set to test only on a few selected APIs,
|
||||||
|
# speeding up the integration process. See etc/api/api-list-ci.yaml.
|
||||||
|
CI: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|||||||
39
.travis.yml
39
.travis.yml
@@ -1,39 +0,0 @@
|
|||||||
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
|
|
||||||
4
Makefile
4
Makefile
@@ -31,8 +31,8 @@ API_SHARED_INFO = $(API_DIR)/shared.yaml
|
|||||||
TYPE_API_INFO = $(API_DIR)/type-api.yaml
|
TYPE_API_INFO = $(API_DIR)/type-api.yaml
|
||||||
TYPE_CLI_INFO = $(API_DIR)/type-cli.yaml
|
TYPE_CLI_INFO = $(API_DIR)/type-cli.yaml
|
||||||
API_LIST = $(API_DIR)/
|
API_LIST = $(API_DIR)/
|
||||||
ifdef TRAVIS
|
ifdef CI
|
||||||
API_LIST := $(API_LIST)api-list_travis.yaml
|
API_LIST := $(API_LIST)api-list-ci.yaml
|
||||||
else
|
else
|
||||||
API_LIST := $(API_LIST)api-list.yaml
|
API_LIST := $(API_LIST)api-list.yaml
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user