Skip to content

Commit

Permalink
dumb: ugly travis commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Norling committed Feb 13, 2019
1 parent aad4484 commit 40d12b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ python:
- "3.5"
services:
- docker
- postgresql
before_install:
- test/travis_before_install.sh
install:
Expand All @@ -15,8 +14,4 @@ addons:
postgresql: "10"
apt:
packages:
- postgresql-10
- postgresql-client-10
env:
global:
- PGPORT=5433
5 changes: 1 addition & 4 deletions test/travis_before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
set -x

PSQL_VERSION="10"
UBUNTU_VERSION="18.04"
PSQL_PORT="5433"

docker pull postgres:"${PSQL_VERSION}"
docker pull ubuntu:"${UBUNTU_VERSION}"

docker run --rm --name swefreq_postgres_${PSQL_VERSION} \
-d -p $PSQL_PORT:5432 postgres:"${PSQL_VERSION}"
docker run --rm -d -p $PSQL_PORT:5432 postgres:"${PSQL_VERSION}"

0 comments on commit 40d12b9

Please sign in to comment.