Skip to content

Commit

Permalink
Tidy travis file
Browse files Browse the repository at this point in the history
Copy things from @brendo's #2604

- -o for composer
- create a test database
- enable cache for npm and composer

Picked from b12f1bf
  • Loading branch information
nitriques committed Apr 20, 2018
1 parent 9be43fc commit 539380e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Expand Up @@ -17,7 +17,15 @@ before_install:

install:
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- composer install
- composer install -o --no-interaction
- npm install

before_script:
- mysql -e 'create database symphony_test;'

script: npm test

cache:
directories:
- $HOME/.composer/cache
- node_modules

0 comments on commit 539380e

Please sign in to comment.