ticket_1156
Last change
on this file since b3f4831 was
5c36bf1,
checked in by Paul Kienzle <pkienzle@…>, 7 years ago
|
suppress broken deploy so that travis tests will pass
|
-
Property mode set to
100644
|
File size:
1.7 KB
|
Rev | Line | |
---|
[8b81801] | 1 | language: python |
---|
[38b8c48] | 2 | sudo: false |
---|
[1c83260] | 3 | matrix: |
---|
| 4 | include: |
---|
[38b8c48] | 5 | - os: linux |
---|
| 6 | env: |
---|
| 7 | - PY=2.7 |
---|
[5c36bf1] | 8 | #- DEPLOY=True |
---|
[38b8c48] | 9 | - os: linux |
---|
| 10 | env: |
---|
| 11 | - PY=3.6 |
---|
| 12 | - os: osx |
---|
| 13 | language: generic |
---|
| 14 | env: |
---|
| 15 | - PY=2.7 |
---|
| 16 | - os: osx |
---|
| 17 | language: generic |
---|
| 18 | env: |
---|
| 19 | - PY=3.5 |
---|
[8b81801] | 20 | branches: |
---|
| 21 | only: |
---|
[38b8c48] | 22 | - master |
---|
[1c83260] | 23 | addons: |
---|
| 24 | apt: |
---|
[38b8c48] | 25 | packages: opencl-headers |
---|
[5304138] | 26 | before_install: |
---|
[ce8c388] | 27 | - if [[ $encrypted_cb04388797b6_iv ]]; then openssl aes-256-cbc -K $encrypted_cb04388797b6_key -iv $encrypted_cb04388797b6_iv |
---|
| 28 | -in .travis/travis_rsa.enc -out .travis/travis_rsa -d; fi; |
---|
[38b8c48] | 29 | - echo $TRAVIS_OS_NAME |
---|
| 30 | - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh |
---|
| 31 | -O miniconda.sh; fi; |
---|
| 32 | - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh |
---|
| 33 | -O miniconda.sh; fi; |
---|
| 34 | - bash miniconda.sh -b -p $HOME/miniconda |
---|
| 35 | - export PATH="$HOME/miniconda/bin:$PATH" |
---|
| 36 | - hash -r |
---|
| 37 | - conda update --yes conda |
---|
| 38 | - conda info -a |
---|
[335271e] | 39 | - conda install --yes python=$PY numpy scipy matplotlib docutils setuptools pytest |
---|
[8b81801] | 40 | install: |
---|
[38b8c48] | 41 | - pip install bumps |
---|
[2ab1bac] | 42 | - pip install unittest-xml-reporting tinycc |
---|
[8b81801] | 43 | script: |
---|
[b419c2d] | 44 | - python --version |
---|
[a69d8cd] | 45 | #- python -m sasmodels.model_test -v dll all |
---|
[1f991d6] | 46 | #- python -m pytest -v --cache-clear |
---|
| 47 | - python setup.py test --pytest-args -v |
---|
[947a61e] | 48 | before_deploy: |
---|
| 49 | - echo -e "Host danse.chem.utk.edu\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config |
---|
[eb77f9c] | 50 | deploy: |
---|
[f246d6b] | 51 | skip_cleanup: true |
---|
| 52 | provider: script |
---|
| 53 | script: "/bin/sh -ex ./deploy.sh" |
---|
| 54 | on: |
---|
| 55 | branch: master |
---|
[2d09df1] | 56 | condition: $DEPLOY = True |
---|
[01e551a] | 57 | notifications: |
---|
| 58 | slack: |
---|
| 59 | secure: xNAUeSu1/it/x9Q2CSg79aw1LLc7d6mLpcqSCTeKROp71RhkFf8VjJnJm/lEbKHNC8yj5H9UHrz5DmzwJzI+6oMt4NdEeS6WvGhwGY/wCt2IcJKxw0vj1DAU04qFMS041Khwclo6jIqm76DloinXvmvsS+K/nSyQkF7q4egSlwA= |
---|
Note: See
TracBrowser
for help on using the repository browser.