forked from FZJ-INM1-BDA/pytiff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 889 Bytes
/
.travis.yml
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
language: python
os:
- linux
dist: trusty
python:
- "2.7"
- "3.5"
branches:
only:
- master
- develop
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y software-properties-common
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -qq update
- sudo apt-get install -y gcc-6 g++-6
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6
- sudo apt-get install -y libtiff5 libtiff5-dev
- gcc --version
install:
- pip install --upgrade pip
- pip install --upgrade pytest hypothesis
- pip install cython
- pip install numpy
- pip install scikit-image
- pip install tifffile coveralls pytest-cov coveralls
- python setup.py build_ext --inplace --force --define CYTHON_TRACE
script: py.test -v --cov=pytiff --cov-report=xml pytiff
after_success: coveralls