forked from adsabs/ADSfulltext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (37 loc) · 1.13 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
dist: trusty
sudo: required
language: python
python:
- "2.7"
addons:
# Required to avoid Java 7 openjdk buffer overflow:
# https://github.com/travis-ci/travis-ci/issues/5227#issuecomment-165131913
hosts:
- myshorthost
hostname: myshorthost
before_install:
- sudo apt-get update
- sudo apt-get install poppler-utils
- sudo apt-get install libxml2-dev libxslt1-dev
- sudo apt-get install openjdk-7-jdk icedtea-7-plugin
- sudo apt-get install maven
- export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/
install:
- pip install --upgrade setuptools
- pip install -r requirements.txt
- pip install -r dev-requirements.txt
services:
- rabbitmq
before_script:
- sudo rabbitmqctl add_vhost fulltext_pipeline
- sudo rabbitmqctl add_vhost master_pipeline
- sudo rabbitmqctl set_permissions -p fulltext_pipeline guest ".*" ".*" ".*"
- sudo rabbitmqctl set_permissions -p master_pipeline guest ".*" ".*" ".*"
- mvn package
script:
- py.test
#- tests/integration_test.sh
#- mvn test -DdryRun=true -DcoverallsFile=java_coverage.json jacoco:report coveralls:report
after_success:
- coverage combine
- coveralls #--merge=java_coverage.json