forked from Consonance/consonance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (28 loc) · 924 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
notifications:
slack:
on_success: never
on_failure: always
rooms:
- oicr:S9k4EowgQv9AnbCfEZHSzCsg
sudo: false
language: java
jdk:
- oraclejdk8
before_script:
- echo ${USER}
- psql -c "create user queue_user with password 'queue' createdb;" -U postgres
- psql -c "ALTER USER queue_user WITH superuser;" -U postgres
- psql -c 'create database queue_status with owner = queue_user;' -U postgres
- export PGPASSWORD='queue'; psql -h 127.0.0.1 -U queue_user queue_status -f consonance-arch/sql/schema.sql
- mkdir ~/.youxia
- mkdir ~/.consonance
- cp .travis/youxia_config ~/.youxia/config
- cp .travis/consonance_config ~/.consonance/config
script:
- mvn -B clean install -DskipITs=false
- mvn -B clean -DskipITs=false cobertura:cobertura cobertura:cobertura-integration-test coveralls:report
# - mvn -B versioneye:update
addons:
postgresql: "9.4"
services:
- rabbitmq