forked from guofei9987/scikit-opt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (28 loc) · 875 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
31
32
language: python
python:
- "3.6"
- "3.7"
# command to install dependencies
install:
- pip install -r requirements.txt
- pip install coverage codecov
- python setup.py install
# command to run tests
script:
- coverage run -p sko/demo_func.py
- coverage run -p examples/demo_ga.py
- coverage run -p examples/demo_ga_tsp.py
- coverage run -p examples/demo_ga_udf.py
- coverage run -p examples/demo_ga_udf_tsp.py
- coverage run -p examples/demo_pso.py
- coverage run -p examples/demo_sa.py
- coverage run -p examples/demo_sa_tsp.py examples/data/nctu.csv
- coverage run -p examples/demo_aca_tsp.py
- coverage run -p examples/demo_ia.py
- coverage run -p examples/demo_afsa.py
- coverage run -p examples/demo_pso_ani.py
- coverage run -p examples/demo_de.py
# Push the results back to codecov
after_success:
- coverage combine
- codecov