Remove Travis

This commit is contained in:
Ivan Ukhov
2024-04-22 10:29:42 +02:00
parent fe6fdb1985
commit f1bac08c45
4 changed files with 5 additions and 42 deletions

View File

@@ -18,7 +18,9 @@ jobs:
build-and-test:
runs-on: ubuntu-latest
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:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2

View File

@@ -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

View File

@@ -31,8 +31,8 @@ API_SHARED_INFO = $(API_DIR)/shared.yaml
TYPE_API_INFO = $(API_DIR)/type-api.yaml
TYPE_CLI_INFO = $(API_DIR)/type-cli.yaml
API_LIST = $(API_DIR)/
ifdef TRAVIS
API_LIST := $(API_LIST)api-list_travis.yaml
ifdef CI
API_LIST := $(API_LIST)api-list-ci.yaml
else
API_LIST := $(API_LIST)api-list.yaml
endif