-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CI/CLN: update travis #36514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI/CLN: update travis #36514
Changes from 11 commits
bcb187f
57f2724
7dba0d1
f8bbe13
2235469
5070708
fe0d753
9a51899
5d28234
059599a
38cd65d
271407c
8c679d5
de587a3
81886a1
9bb6871
6f8fc57
3e8833e
5b47620
d2f7aa5
f5e119a
057b966
2d3725f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,45 @@ | ||
language: python | ||
python: 3.7 | ||
|
||
addons: | ||
apt: | ||
update: true | ||
packages: | ||
- xvfb | ||
|
||
# To turn off cached cython files and compiler cache | ||
# set NOCACHE-true | ||
# To delete caches go to https://travis-ci.org/OWNER/REPOSITORY/caches or run | ||
# travis cache --delete inside the project directory from the travis command line client | ||
# The cache directories will be deleted if anything in ci/ changes in a commit | ||
cache: | ||
pip: true | ||
ccache: true | ||
directories: | ||
- $HOME/.cache # cython cache | ||
- $HOME/.ccache # compiler cache | ||
|
||
env: | ||
global: | ||
# Variable for test workers | ||
- PYTEST_WORKERS="auto" | ||
# create a github personal access token | ||
# cd pandas-dev/pandas | ||
# travis encrypt 'PANDAS_GH_TOKEN=personal_access_token' -r pandas-dev/pandas | ||
- secure: "EkWLZhbrp/mXJOx38CHjs7BnjXafsqHtwxPQrqWy457VDFWhIY1DMnIR/lOWG+a20Qv52sCsFtiZEmMfUjf0pLGXOqurdxbYBGJ7/ikFLk9yV2rDwiArUlVM9bWFnFxHvdz9zewBH55WurrY4ShZWyV+x2dWjjceWG5VpWeI6sA=" | ||
|
||
git: | ||
# for cloning | ||
depth: false | ||
|
||
matrix: | ||
fast_finish: true | ||
|
||
include: | ||
# In allowed failures | ||
- dist: bionic | ||
python: 3.9-dev | ||
env: | ||
- JOB="3.9-dev" PATTERN="(not slow and not network and not clipboard)" | ||
services: | ||
- xvfb | ||
|
||
- env: | ||
- JOB="3.8" ENV_FILE="ci/deps/travis-38.yaml" PATTERN="(not slow and not network and not clipboard)" | ||
|
||
|
@@ -42,7 +48,7 @@ matrix: | |
|
||
- arch: arm64 | ||
env: | ||
- JOB="3.7, arm64" PYTEST_WORKERS=8 ENV_FILE="ci/deps/travis-37-arm64.yaml" PATTERN="(not slow and not network and not clipboard and not arm_slow)" | ||
- JOB="3.7, arm64" ENV_FILE="ci/deps/travis-37-arm64.yaml" PATTERN="(not slow and not network and not clipboard and not arm_slow)" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if this works great There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good to know. I'll play with it for a bit. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using |
||
|
||
- env: | ||
- JOB="3.7, locale" ENV_FILE="ci/deps/travis-37-locale.yaml" PATTERN="((not slow and not network and not clipboard) or (single and db))" LOCALE_OVERRIDE="zh_CN.UTF-8" SQL="1" | ||
|
@@ -71,12 +77,6 @@ before_install: | |
- uname -a | ||
- git --version | ||
- ./ci/check_git_tags.sh | ||
# Because travis runs on Google Cloud and has a /etc/boto.cfg, | ||
# it breaks moto import, see: | ||
# https://github.com/spulec/moto/issues/1771 | ||
# https://github.com/boto/boto/issues/3741 | ||
# This overrides travis and tells it to look nowhere. | ||
- export BOTO_CONFIG=/dev/null | ||
Comment on lines
-74
to
-79
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's fixed by travis-ci/travis-build#1759 |
||
|
||
install: | ||
- echo "install start" | ||
|
@@ -88,7 +88,7 @@ install: | |
script: | ||
- echo "script start" | ||
- echo "$JOB" | ||
- if [ "$JOB" != "3.9-dev" ]; then source activate pandas-dev; fi | ||
- if [ "$JOB" != "3.9-dev" ]; then conda activate pandas-dev; fi | ||
- ci/run_tests.sh | ||
|
||
after_script: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's redundant.