Skip to content

Commit

Permalink
renamed "tests/example-usage" to "example-v1.9.8"
Browse files Browse the repository at this point in the history
added "tests/example-latest-version"
changed ".travis.yml" accordingly
  • Loading branch information
jakoch committed Jan 25, 2016
1 parent 5c8ac84 commit b6464e1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ before_install:
script:
- phpunit --configuration ./tests/phpunit.xml.dist
# tests
- cd ./tests/example-usage && composer install -vvv --profile
# fetch "v1.9.8"
- cd "$TRAVIS_BUILD_DIR/tests/example-v1.9.8" && composer install -vvv --profile
- ls -ashF bin
- bin/phantomjs -v
- cd $TRAVIS_BUILD_DIR
# fetch "latest version"
- cd "$TRAVIS_BUILD_DIR/tests/example-latest-version" && composer install -vvv --profile
- ls -ashF bin
- bin/phantomjs -v

Expand Down
16 changes: 16 additions & 0 deletions tests/example-latest-version/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"require": {
"jakoch/phantomjs-installer": "dev-master"
},
"config": {
"bin-dir": "bin"
},
"scripts": {
"post-install-cmd": [
"PhantomInstaller\\Installer::installPhantomJS"
],
"post-update-cmd": [
"PhantomInstaller\\Installer::installPhantomJS"
]
}
}
File renamed without changes.

0 comments on commit b6464e1

Please sign in to comment.