trim commented out stuff from .travis.yml
@@ -6,32 +6,11 @@ env:
language: minimal
-#cache:
-# directories:
-# - ${HOME}/.cache/pip
-# - ${HOME}/docker
-## fix permissions before uploading cached docker images.
-#before_cache:
-# - sudo service docker stop
-# - sudo chown -R travis ${HOME}/docker
-# - sudo service docker start
-
-#python:
-# - 2.7
-
services:
- docker
-# Change location of docker image cache to a location that travis can use.
-#before_install:
-# - sudo service docker stop
-# - if [ "$(ls -A ${HOME}/docker)" ]; then echo "${HOME}/docker already set"; else sudo mv /var/lib/docker ${HOME}/docker; fi
-# - sudo bash -c "echo 'DOCKER_OPTS=\"-H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock -g ${HOME}/docker\"' > /etc/default/docker"
-# - sudo service docker start
-
+# Build and run containers.
install:
-# - docker build --tag "wikipedialibrary/twlight:${TRAVIS_BRANCH}" .
-# - docker-compose -f docker-compose.yml -f docker-compose.travis.yml up -d db twlight
- .travis/./docker_compose.sh
# Initalize the app and test it.
