remove travis stuff

This commit is contained in:
Robert Lechte 2018-10-29 18:36:35 +11:00
parent e29573ec15
commit 0f43fcf15d
2 changed files with 0 additions and 38 deletions

View File

@ -1,22 +0,0 @@
language: python
python:
- "2.7"
- "3.6"
sudo: required
dist: trusty
services:
- postgresql
addons:
postgresql: "9.6"
before_script:
- bash scripts/travis/install-postgres-10.sh
# command to install dependencies
install: make pip
# command to run tests
script: make test

View File

@ -1,16 +0,0 @@
#!/usr/bin/env bash
set -ex
echo "Installing Postgres 10"
sudo service postgresql stop
sudo apt-get remove -q 'postgresql-*'
sudo apt-get update -q
sudo apt-get install -q postgresql-10 postgresql-client-10
sudo cp /etc/postgresql/{9.6,10}/main/pg_hba.conf
echo "Restarting Postgres 10"
sudo service postgresql restart
sudo psql -c 'CREATE ROLE travis SUPERUSER LOGIN CREATEDB;' -U postgres
sudo psql -c 'CREATE DATABASE travis;' -U postgres
sudo psql -c 'ALTER DATABASE travis OWNER TO travis;' -U postgres