Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

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

- -o for composer
- create a test database
- enable cache for npm and composer
  • Loading branch information
nitriques committed Apr 6, 2018
1 parent 0eea942 commit b12f1bf
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 b12f1bf

Please sign in to comment.