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
Picked from 539380e
  • Loading branch information
nitriques committed Mar 22, 2019
1 parent 7580e58 commit 4b2d0a7
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 4b2d0a7

Please sign in to comment.