Skip to content

Commit

Permalink
set hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
touhonoob committed Oct 29, 2015
1 parent 3e5ea5f commit bc978a4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
sudo: required
language: php
php:
- 5.5
- 5.6
- 7.0
script:
before_install:
- sudo ./.travis/pre.sh
install:
- composer install
script:
- ./vendor/bin/phpunit tests
after_success:
- php vendor/bin/coveralls -v
Expand Down
7 changes: 7 additions & 0 deletions .travis/pre.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
cat << EOF >> /etc/hosts
api.sandbox.crowdsdom.com 120.25.13.59
account.sandbox.crowdsdom.com 120.25.13.59
api.crowdsdom.com 120.25.13.59
account.crowdsdom.com 120.25.13.59
EOF

0 comments on commit bc978a4

Please sign in to comment.