forked from timesler/facenet-pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (46 loc) · 1.5 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
language: python
matrix:
include:
- name: "Python 3.7 on Linux"
python: 3.7
dist: xenial
- name: "Python 3.7 on macOS"
os: osx
osx_image: xcode10.2
language: shell
before_install: brew install libomp
env: PATH=/Users/travis/Library/Python/3.7/bin:$PATH
- name: "Python 3.7 on Windows"
os: windows
language: shell
before_install: choco install python --version 3.7.3
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
- name: "Python 3.6 on Linux"
python: 3.6
dist: xenial
- name: "Python 3.6 on macOS"
os: osx
osx_image: xcode9.4
language: shell
before_install: brew install libomp
env: PATH=/Users/travis/Library/Python/3.6/bin:$PATH
- name: "Python 3.6 on Windows"
os: windows
language: shell
before_install: choco install python --version 3.6.7
env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
- name: "Python 3.5 on Linux"
python: 3.5
dist: xenial
- name: "Python 3.5 on Windows"
os: windows
language: shell
before_install: choco install python --version 3.5.4
env: PATH=/c/Python35:/c/Python35/Scripts:$PATH
install: pip3 install -r tests/travis_requirements.txt || pip3 install --user -r tests/travis_requirements.txt
script:
- python3 --version || python --version
- echo "import tests.travis_test" > test.py
- coverage run --source models test.py && coverage report
after_success:
- codecov