Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Commit

Permalink
More tests in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
psyduck787 committed May 19, 2016
1 parent 59c16c9 commit 19350e0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ script:
- docker-compose -f docker-compose-travis.yml up -d
- docker-compose -f docker-compose-travis.yml ps
- wget http://localhost:8001/unsafe/200x100/www.apsl.net/static/apslweb/img/content/slider/rs-slider4-img15.png
- wget http://localhost:8002/unsafe/200x100/www.apsl.net/static/apslweb/img/content/slider/rs-slider4-img15.png
- wget http://localhost:8003/unsafe/200x100/www.apsl.net/static/apslweb/img/content/slider/rs-slider4-img15.png
notifications:
email:
- [email protected]
Expand Down
24 changes: 23 additions & 1 deletion docker-compose-travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,36 @@ services:
- "127.0.0.1:8001:8000" # thumbor port
networks:
- app
thumbor:
image: apsl/thumbor-multiprocess
environment:
- RESULT_STORAGE=thumbor.result_storages.file_storage
- RESULT_STORAGE_STORES_UNSAFE=True
- STORAGE=thumbor.storages.mixed_storage
- DETECTORS=["thumbor.detectors.queued_detector.queued_complete_detector"]
- REDIS_STORAGE_SERVER_HOST=redis
- REDIS_STORAGE_SERVER_PORT=6379
- REDIS_STORAGE_SERVER_DB=0
- REDIS_QUEUE_SERVER_HOST=redis
- REDIS_QUEUE_SERVER_PORT=6379
- REDIS_QUEUE_SERVER_DB=0
- MIXED_STORAGE_DETECTOR_STORAGE=thumbor.storages.redis_storage
volumes:
- ./data:/data
links:
- redis:redis
ports:
- "127.0.0.1:8002:8000" # thumbor port
networks:
- app
nginx:
image: apsl/thumbor-nginx
links:
- thumbor:thumbor
volumes_from:
- thumbor:ro
ports:
- "127.0.0.1:8000:80" # thumbor port
- "127.0.0.1:8003:80" # thumbor port
hostname: nginx
networks:
- app
Expand Down

0 comments on commit 19350e0

Please sign in to comment.