forked from aewallin/allantools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (57 loc) · 2.2 KB
/
.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
# check this file with: $ yamllint .travis.yml
# travis on linux, windows, and mac
# following: https://www.scivision.dev/travis-ci-osx-python/
# https://docs.travis-ci.com/user/languages/python/
matrix:
include:
- os: linux
name: "Linux/xenial - Python 2.7, with coverage"
dist: xenial # required for Python >= 3.7
language: python
sudo: required
python: # removed 3.3 because scipy gives and error
- "2.7"
install:
- sudo apt-get install liblapack-dev libblas-dev gfortran
- pip install -v . # allantools itself, verbose output
- pip install -r requirements.txt
- pip install coveralls
script:
- py.test
- coverage run --source=allantools setup.py test
after_success: coveralls
- os: linux
name: "Linux/xenial - Python 3.4"
dist: xenial # required for Python >= 3.7
language: python
sudo: required
python: # removed 3.3 because scipy gives and error
- "3.4"
install:
- sudo apt-get install liblapack-dev libblas-dev gfortran
- pip install -v . # allantools itself, verbose output
- pip install -r requirements.txt
script:
- py.test
- os: osx # https://docs.travis-ci.com/user/reference/osx/
name: "MacOS 10.14.3 - Python 3.7.2 - experimental"
osx_image: xcode10.2 # Python 3.7.2 running on macOS 10.14.3
language: shell # 'language: python' is an error on Travis CI macOS
install:
- pip3 install -v .
- pip3 install -r requirements.txt
script:
- py.test
- os: windows
name: "Windows - Python 3.7 - experimental"
language: shell
before_install:
- choco install python3
- python -m pip install --upgrade pip
- pip3 install -v .
- pip3 install -r requirements.txt
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
script:
- py.test
# end