Skip to content

Commit

Permalink
run Travis on Trusty
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Mar 27, 2017
1 parent 9df676d commit 3bea7ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: python

# run on Travis container-based infrastructure
dist: trusty
sudo: false

git:
Expand All @@ -13,11 +14,11 @@ install:
- pip install psycopg2 --quiet
- pip install pyyaml --quiet

before_script:
before_script:
- printf "[qwat_test]\nhost=localhost\ndbname=qwat_test\nuser=postgres\n\n[qwat_test_conform]\nhost=localhost\ndbname=qwat_test_conform\nuser=postgres" > ~/.pg_service.conf
- psql -c 'CREATE DATABASE qwat_test;' -U postgres

script:
script:
- $TRAVIS_BUILD_DIR/init_qwat.sh -p qwat_test -s 21781 -r
- $TRAVIS_BUILD_DIR/tests/tests.sh --no-init
- $TRAVIS_BUILD_DIR/update/verify_upgrade_db.sh

0 comments on commit 3bea7ba

Please sign in to comment.