This repository has been archived by the owner on Oct 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
/
.travis.yml
55 lines (47 loc) · 2.05 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
language: python
python:
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "nightly" # currently points to 3.6-dev
#- "pypy3" # won't work since it implements Python 3.2.5.
branches:
only:
- master
- coverage
- next
- travis # Let testing travis configuration.
before_install:
- pip install --upgrade pip
- pip install coverage codecov coveralls
# command to install dependencies
install: "pip install -r requirements.txt"
#before_script:
#- cp -a ./tests "$TRAVIS_BUILD_DIR"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/0d4fe7da7dd072da59ea
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never
# command to run tests
script:
- coverage run --source=imapfw,imapfw.py -p -m imapfw.edmp
- coverage run --source=imapfw,imapfw.py -p -m imapfw.mmp.manager
- coverage run --source=imapfw,imapfw.py -p ./imapfw.py -h
- coverage run --source=imapfw,imapfw.py -p ./imapfw.py noop
- coverage run --source=imapfw,imapfw.py -p ./imapfw.py -c multiprocessing unitTests
- coverage run --source=imapfw,imapfw.py -p ./imapfw.py -c threading unitTests
- coverage run --source=imapfw,imapfw.py -p ./imapfw.py -r ./tests/syncaccounts.1.rascal -d all noop
- coverage run --source=imapfw,imapfw.py -p ./imapfw.py -r ./tests/syncaccounts.1.rascal -d all testRascal
- coverage run --source=imapfw,imapfw.py -p ./imapfw.py -r ./tests/syncaccounts.1.rascal -d all examine
- coverage run --source=imapfw,imapfw.py -p ./imapfw.py -r ./tests/syncaccounts.1.rascal -d all -c multiprocessing syncAccounts -a AccountA
- coverage run --source=imapfw,imapfw.py -p ./imapfw.py -r ./tests/syncaccounts.1.rascal -d all -c threading syncAccounts -a AccountA
- coverage run --source=imapfw,imapfw.py -p ./imapfw.py -r ./tests/syncaccounts.1.rascal -d all -c threading syncAccounts -a AccountA -a AccountA -a AccountA
- coverage combine .coverage*
after_success:
- coveralls
- codecov
# vim: expandtab ts=2 :