Parcourir la source

Troubleshooting Travis CI

Jeremy Stretch il y a 7 ans
Parent
commit
90ec177360
1 fichiers modifiés avec 5 ajouts et 2 suppressions
  1. 5 2
      .travis.yml

+ 5 - 2
.travis.yml

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