Skip to content

Commit

Permalink
Merge pull request #255 from nanasess/use-docker
Browse files Browse the repository at this point in the history
Use Docker container to Mailcatcher
  • Loading branch information
Chihiro Adachi authored Apr 10, 2019
2 parents 303fded + 0790d7c commit aecd8ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# for travis-ci
# see also. https://travis-ci.org
language: php
services:
- docker
sudo: false
php:
- 5.4
Expand Down Expand Up @@ -63,8 +65,8 @@ before_script:
- unzip -o -q chromedriver_linux64.zip
- sudo mv -f ./chromedriver /usr/local/bin/
- sudo chmod +x /usr/local/bin/chromedriver
- gem install mailcatcher -v "0.6.5"
- mailcatcher
- docker pull schickling/mailcatcher
- docker run -d -p 1080:1080 -p 1025:1025 --name mailcatcher schickling/mailcatcher
- chromedriver --url-base=/wd/hub &
- php data/vendor/bin/codecept build

Expand Down

0 comments on commit aecd8ce

Please sign in to comment.