forked from PhonologicalCorpusTools/CorpusTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (46 loc) · 907 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
language: python
python:
- "3.3"
- "3.4"
branches:
only:
- master
- develop
notifications:
email: false
sudo: required
#addons:
#apt:
#sources:
#ubuntu-sdk-team
#packages:
#qtdeclarative5-dev
before_install:
- ls $HOME
- sudo add-apt-repository --yes ppa:beineri/opt-qt541
- sudo apt-get update -qq
- sudo apt-get install qt54base
- source /opt/qt54/bin/qt54-env.sh
- bash continuous-integration/travis/install.sh
install:
- export PATH="$HOME/miniconda/bin:$PATH"
- source activate test-environment
- which python
- conda list
- python setup.py install
before_script:
- ls $HOME
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
# Run test
script:
- py.test -v --cov corpustools tests/
# Calculate coverage
after_success:
- coveralls
cache:
directories:
- $HOME/sip
- $HOME/pyqt5
- $HOME/miniconda