-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.travis.yml
More file actions
45 lines (38 loc) · 784 Bytes
/
.travis.yml
File metadata and controls
45 lines (38 loc) · 784 Bytes
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
language: python
python:
- "3.4"
- "3.5"
branches:
only:
- master
- develop
notifications:
email: false
sudo: required
before_install:
- sudo add-apt-repository --yes ppa:beineri/opt-qt542
- 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/cachedir/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/cachedir
apt: true