forked from grid-control/grid-control
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
35 lines (35 loc) · 1.21 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
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
- "pypy3"
before_install:
- pip install codecov
- pip install 'coverage<4'
script:
- ./packages/gcUpdatePlugins.py # randomized order
- ./packages/gcUpdatePlugins.py
- ./packages/gcUpdatePlugins.py
- ./packages/gcUpdatePlugins.py
- ./packages/gcUpdatePlugins.py
- export WRAPPER='coverage run -a'
- ./setup.py install
- rm -rf packages
- ls
- export GC_CHECK_OUTPUT=true
- export GC_SCRIPT=$VIRTUAL_ENV/bin/gridcontrol
- if [[ $TRAVIS_PYTHON_VERSION == 'pypy'* ]]; then export WRAPPER=''; fi
- $WRAPPER $GC_SCRIPT -s -o '[jobs] continuous = False' docs/examples/ExampleS1_stresstest.conf
- $WRAPPER $GC_SCRIPT --reset INIT docs/examples/ExampleS1_stresstest.conf
- $WRAPPER $GC_SCRIPT -o '[jobs] continuous = False' docs/examples/ExampleS1_stresstest.conf
- $WRAPPER $GC_SCRIPT -o '[interactive] default = False' -d ALL docs/examples/ExampleS1_stresstest.conf
- $WRAPPER $GC_SCRIPT -G --debug docs/examples/ExampleS1_stresstest.conf
- $WRAPPER $GC_SCRIPT docs/examples/ExampleS1_stresstest.conf
- diff ExampleS1_stresstest.list docs/examples/ExampleS1_stresstest.list.ref
after_success:
- codecov