remove travis yml

This commit is contained in:
Albert Yi
2018-05-11 11:30:51 -07:00
parent f1656d11b8
commit a430b062ab

View File

@@ -1,27 +0,0 @@
sudo: required
dist: trusty
language: bash
env:
global:
- DOCKER_COMPOSE_VERSION=1.21.1
- PGHOST
- PGPORT
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
install:
- env | egrep 'DEBUG|DANBOORU|RAILS|DATABASE_URL|SECRET' > .env.test
- docker-compose -f config/docker/compose.yml up -d web
- docker-compose -f config/docker/compose.yml exec archives dockerize -wait tcp://$PGHOST:$PGPORT bash -l -c 'cd /app ; bundle exec rake db:create ; bundle exec rake db:migrate'
- docker-compose -f config/docker/compose.yml exec web dockerize -wait tcp://$PGHOST:$PGPORT bash -l -c 'cd /app ; bin/rake db:create ; bin/rake db:migrate'
script:
- docker-compose -f config/docker/compose.yml exec web bin/rake test
after_script:
- docker-compose -f config/docker/compose.yml down