Browse Source

Troubleshooting Travis CI

Jeremy Stretch 7 years ago
parent
commit
90ec177360
1 changed files with 5 additions and 2 deletions
  1. 5 2
      .travis.yml

+ 5 - 2
.travis.yml

@@ -1,6 +1,8 @@
 sudo: required
 sudo: required
 services:
 services:
   - postgresql
   - postgresql
+addons:
+  - postgresql: "9.4"
 language: python
 language: python
 python:
 python:
   - "2.7"
   - "2.7"
@@ -8,7 +10,8 @@ python:
 install:
 install:
   - pip install -r requirements.txt
   - pip install -r requirements.txt
   - pip install pep8
   - pip install pep8
-addons:
-  - postgresql: "9.4"
+before_script:
+  - psql --version
+  - psql -U postgres -c 'SELECT version();'
 script:
 script:
   - ./scripts/cibuild.sh
   - ./scripts/cibuild.sh