-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (50 loc) · 1.73 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
jobs:
include:
- name: "Python 3.6 on linux"
os: linux
sudo: required
language: python
python: 3.6
dist: xenial
# command to install Git LFS
before_install:
- echo -e "machine github.com\n login $GITHUB_TOKEN" > ~/.netrc
- python --version
- pip install -U pip
# command to install dependencies
install:
- "pip install -r requirements.txt"
before_script:
- git lfs pull
# command to run tests
script: python ./tests/test_objects/test_waveclass/test.py;
./tests/test_objects/test_bodyclass/test.py
# mac os build error after git lfs got updated
#- name: "Python 3.6 on Mac"
#os: osx
#osx_image: xcode10.1
#language: shell
#env: PYTHON=36
## command to install Git LFS
#before_install:
#- brew install git-lfs
#- python3 --version
#- pip3 install -U pip
## command to install dependencies
#install:
#- "pip3 install -r requirements.txt"
#before_script:
#- git lfs pull
## command to run tests
#script: python3 ./tests/test_objects/test_waveclass/test.py
#script: python3 ./tests/test_objects/test_bodyclass/test.py
# Windows Env does not get fully supported yet
# - name: "Python 3.6.8 on Windows"
# os: windows # Windows 10.0.17134 N/A Build 17134
# language: shell # 'language: python' is an error on Travis CI Windows
# before_install:
# - choco install python --version 3.6.8
# - python --version
# - python -m pip install --upgrade pip
# - "pip3 install -r requirements.txt"
# env: PATH=/c/Python36:/c/Python36/Scripts:$PATH