source: sasview/.travis.yml @ bb1cb38

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since bb1cb38 was bb1cb38, checked in by ajj, 7 years ago

Adding slack notifications

  • Property mode set to 100644
File size: 1.6 KB
Line 
1language: python
2matrix:
3  include:
4  - os: linux
5    env:
6    - PY=2.7
7    - NUMPYSPEC=numpy
8  - os: osx
9    language: generic
10    env:
11    - PY=2.7
12    - NUMPYSPEC=numpy
13branches:
14  only:
15  - master
16addons:
17  apt:
18    packages:
19    - opencl-headers
20    - fglrx
21    - libblas-dev
22    - libatlas-dev
23    - libatlas-base-dev
24    - liblapack-dev
25    - gfortran
26    - libhdf5-serial-dev
27before_install:
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; sudo apt-get update; sudo apt-get install python-pyopencl; elif
31  [[ "$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 $NUMPYSPEC scipy cython pylint wxpython
39install:
40- pip install -r build_tools/requirements.txt
41- pip install matplotlib
42script:
43- cd ..
44- export WORKSPACE=$(pwd)
45- git clone --depth=50 --branch=master https://github.com/SasView/sasmodels.git sasmodels
46- git clone --depth=50 --branch=master https://github.com/bumps/bumps.git
47- ls -ltr
48- if [ ! -d "utils" ]; then mkdir utils; fi
49- /bin/sh -xe sasview/build_tools/travis_build.sh
50- export LC_ALL=en_US.UTF-8
51- export LANG=en_US.UTF-8
52notifications:
53  slack:
54    secure: TlsEpZiMLmOOgnmdG0I/oB4tq3bbQYeBBQi6S5qLlkYE9EjUTbbfg7oz0JYUsQ56FAsdFR8zswpBsX7PebZerzrq0ZmvfHSiJhOFIdBfY5Nb7bmLW8/9pUNWV57ON/8Gw2fE5ytc7FgvCGR64yb2QISI/150SIUwvdL5HXTxRWI=
Note: See TracBrowser for help on using the repository browser.