Skip to content

Commit

Permalink
Improve before_script in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Olde Hampsink committed Jan 29, 2016
1 parent 05c457f commit 0bb191c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@ matrix:
- php: hhvm

# execute any number of scripts before the test run, custom env's are available as variables
install:
before_script:
- curl -sS https://codeload.github.com/pixelandtonic/Craft-Release/zip/master > craft.zip
- unzip craft.zip
- rm craft.zip
- mv Craft-Release-master craft
- mkdir craft/config
- echo "<?php return ['user' => 'test'];" > craft/config/db.php
- mkdir craft/storage
- composer install
- cd craft/app
- composer require mockery/mockery
- cd ../..
Expand Down

0 comments on commit 0bb191c

Please sign in to comment.