summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorDavid Barratt <david@davidwbarratt.com>2013-02-18 23:35:45 +0100
committerDavid Barratt <david@davidwbarratt.com>2013-02-18 23:35:45 +0100
commitacd76670ebdd1d5775259af1dcdf8d5f17ec5738 (patch)
tree713ab4eff2e06bc0d2d6d064a3fd3085682a06d8 /.travis.yml
parentbcc411efa6027f409eaf59d1d32422013e9c20da (diff)
Simplify the composer command
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index e94f1af83..3b2f6bd57 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,8 +14,7 @@ env:
- DB=pdo/sqlite
before_script:
- - curl -s http://getcomposer.org/installer | php
- - php composer.phar install --dev --no-progress
+ - composer install --dev
- sh -c "if [ '$DB' = 'pgsql' ] || [ '$DB' = 'pdo/pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS ci_test;' -U postgres; fi"
- sh -c "if [ '$DB' = 'pgsql' ] || [ '$DB' = 'pdo/pgsql' ]; then psql -c 'create database ci_test;' -U postgres; fi"
- sh -c "if [ '$DB' = 'mysql' ] || [ '$DB' = 'mysqli' ] || [ '$DB' = 'pdo/mysql' ]; then mysql -e 'create database IF NOT EXISTS ci_test;'; fi"