Skip to content

Commit

Permalink
Dev: Travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Nov 7, 2017
1 parent f3a09c4 commit ac21c94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -9,6 +9,8 @@ before_script:
- rm -r third_party
- composer update
- composer install
- chmod -R 777 tmp
- chmod -R 777 upload

# Install Apache
# Code fetched from https://docs.travis-ci.com/user/languages/php/#Apache-%2B-PHP
Expand All @@ -25,6 +27,7 @@ before_script:
- sudo sed -e "s?%TRAVIS_BUILD_DIR%?$(pwd)?g" --in-place /etc/apache2/sites-available/000-default.conf
- sudo service apache2 restart

# Phantomjs setup.
- wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
- tar xvjf phantomjs-2.1.1-linux-x86_64.tar.bz2
- ./phantomjs-2.1.1-linux-x86_64/bin/phantomjs --webdriver=127.0.0.1:4444 &
Expand Down

0 comments on commit ac21c94

Please sign in to comment.