Skip to content

Commit

Permalink
Generify consonance config for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-yuen committed Sep 29, 2015
1 parent 9e6b7ef commit 0dfad53
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ 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
Expand Down
1 change: 1 addition & 0 deletions .travis/consonance_config
2 changes: 1 addition & 1 deletion consonance-webservice/run-fox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ logging:
- type: console
threshold: ALL

consonanceConfig: /home/dyuen/.arch3/config
consonanceConfig: /home/ubuntu/.consonance/config

authenticationCachePolicy: maximumSize=10000, expireAfterAccess=10m

Expand Down

0 comments on commit 0dfad53

Please sign in to comment.