File: .travis.yml

package info (click to toggle)
python-fluids 0.1.75-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 6,384 kB
  • sloc: python: 44,248; f90: 1,033; makefile: 47
file content (41 lines) | stat: -rw-r--r-- 1,060 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: c
os:
  - osx
  - linux
compiler:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
env:
  - SCIPY_VER="scipy>=0.12.0" 
# safelist
branches:
  only:
  - release
matrix:
  fast_finish: true
#  include:
#    - os: "linux"
#      compiler: "2.7"
#      env: SCIPY_VER="scipy=0.18.0" 
notifications:
  email: false
install:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then CONDA_OS='Linux'; else CONDA_OS='MacOSX'; fi;
  - wget http://repo.continuum.io/miniconda/Miniconda3-latest-${CONDA_OS}-x86_64.sh -O miniconda.sh;
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  - conda info -a
  - conda create -q -n test-environment python=$CC numpy pandas
  - source activate test-environment
  - conda install $SCIPY_VER
  - pip install -r requirements_test.txt
  - python setup.py -q install
script:
  - py.test . -v --cov-report html --cov=fluids --cov-report term-missing -m "not online and not thermo"
after_success:
  - coveralls