summary refs log tree commit diff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-09-07 01:06:21 +1000
committerGitHub <noreply@github.com>2018-09-07 01:06:21 +1000
commit1d371fc5b36096897a91d4770d91f638babf991e (patch)
treed51674b2525b03444e922abb6276863a2925fd92 /.travis.yml
parentMerge pull request #3788 from matrix-org/erikj/remove_conn_id (diff)
parentNewsfile (diff)
downloadsynapse-1d371fc5b36096897a91d4770d91f638babf991e.tar.xz
Merge pull request #3806 from matrix-org/erikj/limit_postgres_travis
Only start postgres instance for postgres tests on Travis CI
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 11c76db2e5..ebc972ed24 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,9 +8,6 @@ before_script:
   - git remote set-branches --add origin develop
   - git fetch origin develop
 
-services:
-  - postgresql
-
 matrix:
   fast_finish: true
   include:
@@ -25,6 +22,8 @@ matrix:
 
   - python: 2.7
     env: TOX_ENV=py27-postgres TRIAL_FLAGS="-j 4"
+    services:
+      - postgresql
 
   - python: 3.6
     env: TOX_ENV=py36