Last change
on this file since d5014e4 was
ce8c388,
checked in by lewis, 7 years ago
|
Fix typo in travis config
|
-
Property mode set to
100644
|
File size:
1.5 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 |
---|
| 8 | - os: linux |
---|
| 9 | env: |
---|
| 10 | - PY=3.6 |
---|
| 11 | - os: osx |
---|
| 12 | language: generic |
---|
| 13 | env: |
---|
| 14 | - PY=2.7 |
---|
| 15 | - os: osx |
---|
| 16 | language: generic |
---|
| 17 | env: |
---|
| 18 | - PY=3.5 |
---|
[8b81801] | 19 | branches: |
---|
| 20 | only: |
---|
[38b8c48] | 21 | - master |
---|
[1c83260] | 22 | addons: |
---|
| 23 | apt: |
---|
[38b8c48] | 24 | packages: opencl-headers |
---|
[5304138] | 25 | before_install: |
---|
[ce8c388] | 26 | - if [[ $encrypted_cb04388797b6_iv ]]; then openssl aes-256-cbc -K $encrypted_cb04388797b6_key -iv $encrypted_cb04388797b6_iv |
---|
| 27 | -in .travis/travis_rsa.enc -out .travis/travis_rsa -d; fi; |
---|
[38b8c48] | 28 | - echo $TRAVIS_OS_NAME |
---|
| 29 | - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh |
---|
| 30 | -O miniconda.sh; fi; |
---|
| 31 | - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh |
---|
| 32 | -O miniconda.sh; fi; |
---|
| 33 | - bash miniconda.sh -b -p $HOME/miniconda |
---|
| 34 | - export PATH="$HOME/miniconda/bin:$PATH" |
---|
| 35 | - hash -r |
---|
| 36 | - conda update --yes conda |
---|
| 37 | - conda info -a |
---|
| 38 | - conda install --yes python=$PY numpy scipy cython mako cffi |
---|
[8b81801] | 39 | install: |
---|
[38b8c48] | 40 | - pip install bumps |
---|
| 41 | - pip install unittest-xml-reporting |
---|
[8b81801] | 42 | script: |
---|
[b419c2d] | 43 | - python --version |
---|
| 44 | - python -m sasmodels.model_test -v dll all |
---|
[947a61e] | 45 | before_deploy: |
---|
| 46 | - echo -e "Host danse.chem.utk.edu\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config |
---|
[eb77f9c] | 47 | deploy: |
---|
[f246d6b] | 48 | skip_cleanup: true |
---|
| 49 | provider: script |
---|
| 50 | script: "/bin/sh -ex ./deploy.sh" |
---|
| 51 | on: |
---|
| 52 | branch: master |
---|
[01e551a] | 53 | notifications: |
---|
| 54 | slack: |
---|
| 55 | secure: xNAUeSu1/it/x9Q2CSg79aw1LLc7d6mLpcqSCTeKROp71RhkFf8VjJnJm/lEbKHNC8yj5H9UHrz5DmzwJzI+6oMt4NdEeS6WvGhwGY/wCt2IcJKxw0vj1DAU04qFMS041Khwclo6jIqm76DloinXvmvsS+K/nSyQkF7q4egSlwA= |
---|
Note: See
TracBrowser
for help on using the repository browser.