|
1 | 1 | 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 |
21 | 22 |
|
22 | 23 | language: python
|
23 | 24 | # Default Python version is usually 2.7
|
@@ -88,40 +89,40 @@ jobs:
|
88 | 89 | - PLAT=i686
|
89 | 90 |
|
90 | 91 | 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 |
105 | 106 |
|
106 | 107 | 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 |
113 | 114 |
|
114 | 115 | 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 |
120 | 121 |
|
121 | 122 | 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