Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Commit d547534

Browse files
committed
Use consistent indent in yaml.
1 parent 49bce43 commit d547534

File tree

1 file changed

+51
-50
lines changed

1 file changed

+51
-50
lines changed

.travis.yml

Lines changed: 51 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
env:
2-
global:
3-
- REPO_DIR=matplotlib
4-
# Also see DAILY_COMMIT below
5-
- BUILD_COMMIT=v3.2.1
6-
# These variables filled in further below
7-
- BUILD_DEPENDS=
8-
- TEST_DEPENDS=
9-
- PLAT=x86_64
10-
- UNICODE_WIDTH=32
11-
- NP_BUILD_DEP=1.11.3
12-
- NP_TEST_DEP=1.11.3
13-
- MANYLINUX_URL=https://5cf40426d9f06eb7461d-6fe47d9331aba7cd62fc36c7196769e4.ssl.cf2.rackcdn.com
14-
- WHEELHOUSE_UPLOADER_USERNAME=travis-worker
15-
# Following generated with
16-
# travis encrypt -r MacPython/matplotlib-wheels WHEELHOUSE_UPLOADER_SECRET=<the api key>
17-
- secure:
18-
"hKf07zeIRvEMH9qWUkkmFHu768HZdI+EOCO99KjsAjbwa7QdUSwZ9XZKCcyNiym5iyrIBWHywyEtO0wk/LsTxhNZGZQP0nJbyTSSy4VGMQmpIx1sVmDKtrykVJaxCfXqpYYDttBTC4TyvxW/3LyuqBfbU14R4uoSFY/mK+QIJ0A="
19-
# Matplotlib commit when running from master branch
20-
- DAILY_COMMIT=master
2+
global:
3+
- REPO_DIR=matplotlib
4+
# Also see DAILY_COMMIT below
5+
- BUILD_COMMIT=v3.2.1
6+
# These variables filled in further below
7+
- BUILD_DEPENDS=
8+
- TEST_DEPENDS=
9+
- PLAT=x86_64
10+
- UNICODE_WIDTH=32
11+
- NP_BUILD_DEP=1.11.3
12+
- NP_TEST_DEP=1.11.3
13+
- MANYLINUX_URL=https://5cf40426d9f06eb7461d-6fe47d9331aba7cd62fc36c7196769e4.ssl.cf2.rackcdn.com
14+
- WHEELHOUSE_UPLOADER_USERNAME=travis-worker
15+
# Following generated with
16+
# travis encrypt -r MacPython/matplotlib-wheels \
17+
# WHEELHOUSE_UPLOADER_SECRET=<the api key>
18+
- secure:
19+
"hKf07zeIRvEMH9qWUkkmFHu768HZdI+EOCO99KjsAjbwa7QdUSwZ9XZKCcyNiym5iyrIBWHywyEtO0wk/LsTxhNZGZQP0nJbyTSSy4VGMQmpIx1sVmDKtrykVJaxCfXqpYYDttBTC4TyvxW/3LyuqBfbU14R4uoSFY/mK+QIJ0A="
20+
# Matplotlib commit when running from master branch
21+
- DAILY_COMMIT=master
2122

2223
language: python
2324
# Default Python version is usually 2.7
@@ -88,40 +89,40 @@ jobs:
8889
- PLAT=i686
8990

9091
before_install:
91-
# See:
92-
# https://github.com/travis-ci/travis-ci/issues/8920#issuecomment-352661024
93-
- python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
94-
- if [ "$TRAVIS_BRANCH" == "master" ]; then
95-
CONTAINER="pre-release";
96-
BUILD_COMMIT=${DAILY_COMMIT:-$BUILD_COMMIT};
97-
else
98-
CONTAINER=wheels;
99-
UPLOAD_ARGS="--no-update-index";
100-
fi
101-
- BUILD_DEPENDS="numpy==$NP_BUILD_DEP"
102-
- source multibuild/common_utils.sh
103-
- source multibuild/travis_steps.sh
104-
- before_install
92+
# See:
93+
# https://github.com/travis-ci/travis-ci/issues/8920#issuecomment-352661024
94+
- python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
95+
- if [ "$TRAVIS_BRANCH" == "master" ]; then
96+
CONTAINER="pre-release";
97+
BUILD_COMMIT=${DAILY_COMMIT:-$BUILD_COMMIT};
98+
else
99+
CONTAINER=wheels;
100+
UPLOAD_ARGS="--no-update-index";
101+
fi
102+
- BUILD_DEPENDS="numpy==$NP_BUILD_DEP"
103+
- source multibuild/common_utils.sh
104+
- source multibuild/travis_steps.sh
105+
- before_install
105106

106107
install:
107-
# Maybe get and clean and patch source
108-
- clean_code $REPO_DIR $BUILD_COMMIT
109-
- build_wheel $REPO_DIR $PLAT
110-
# Remove test images
111-
- pip install delocate
112-
- python rm_test_images.py wheelhouse/*.whl
108+
# Maybe get and clean and patch source
109+
- clean_code $REPO_DIR $BUILD_COMMIT
110+
- build_wheel $REPO_DIR $PLAT
111+
# Remove test images
112+
- pip install delocate
113+
- python rm_test_images.py wheelhouse/*.whl
113114

114115
script:
115-
- TEST_DEPENDS="numpy==$NP_TEST_DEP sphinx pytest pytest-timeout pytest-xdist pytest-faulthandler pytest-rerunfailures requests[security]"
116-
# increase number of open files allowed for tests, on OSX
117-
# https://github.com/matplotlib/matplotlib/issues/3315
118-
- ulimit -n 4096
119-
- install_run $PLAT
116+
- TEST_DEPENDS="numpy==$NP_TEST_DEP sphinx pytest pytest-timeout pytest-xdist pytest-faulthandler pytest-rerunfailures requests[security]"
117+
# increase number of open files allowed for tests, on OSX
118+
# https://github.com/matplotlib/matplotlib/issues/3315
119+
- ulimit -n 4096
120+
- install_run $PLAT
120121

121122
after_success:
122-
# Upload wheels to Rackspace container
123-
- pip install wheelhouse-uploader
124-
- python -m wheelhouse_uploader upload --local-folder
125-
${TRAVIS_BUILD_DIR}/wheelhouse/
126-
$UPLOAD_ARGS
127-
$CONTAINER
123+
# Upload wheels to Rackspace container
124+
- pip install wheelhouse-uploader
125+
- python -m wheelhouse_uploader upload --local-folder
126+
${TRAVIS_BUILD_DIR}/wheelhouse/
127+
$UPLOAD_ARGS
128+
$CONTAINER

0 commit comments

Comments
 (0)