forked from guofei9987/scikit-opt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (33 loc) · 1.09 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
language: python
python:
- "3.6"
- "3.7"
# command to install dependencies
install:
- pip install --upgrade -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
- coverage run -p examples/vrp.py
- coverage run -p examples/example_function_modes.py
- coverage run -p examples/example_method_modes.py
- coverage run -p tests/test_x2gray.py
- coverage run -p examples/demo_rcga.py
# Push the results back to codecov
after_success:
- coverage combine
- codecov