Commit 0e9c535c authored by Jay's avatar Jay
Browse files

moves installation order

parent 8625a22d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -26,6 +26,10 @@ addons:
    - postgresql-9.6-postgis-2.3

before_install:
  - psql -c 'create database travis_ci_test;' -U postgres
  - psql -U postgres -c "create extension postgis"

install:
  # We do this conditionally because it saves us some downloading if the
  # version is the same.
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then
@@ -51,10 +55,6 @@ before_install:
  # Setup autocnet to connect to the db
  - export autocnet_config=sample.yml

before_script:
  - psql -c 'create database travis_ci_test;' -U postgres
  - psql -U postgres -c "create extension postgis"

script:
  - pytest autocnet tests