Skip to content

Commit

Permalink
Add yarn, composer and node_modules to cache settings
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Sep 10, 2018
1 parent 5f1e64f commit f08b61e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
sudo: required
dist: trusty
sudo: required
language: php
php:
- 5.6
Expand Down Expand Up @@ -66,8 +65,10 @@ before_install:
- if [ "$CORE_BRANCH" != 'stable9' ] && [ "$CORE_BRANCH" != 'stable9.1' ]; then make; fi

cache:
yarn: true
directories:
- $HOME/.cache/yarn
- owncloud/apps/calendar/js/node_modules
- $HOME/.composer/cache/files

before_script:
# Repo for Yarn
Expand All @@ -93,7 +94,6 @@ before_script:

script:
- make
- phpunit --version
- make test
- make dist

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,6 @@ test:
ifneq ("$(wildcard $(phpunit_oc10))","")
php $(phpunit_oc10) -c phpunit.xml --coverage-clover coverage.clover
else
phpunit -c phpunit.xml --coverage-clover coverage.clover --bootstrap
phpunit -c phpunit.xml --coverage-clover coverage.clover
# phpunit -c phpunit.integration.xml --coverage-clover build/php-unit.clover
endif

0 comments on commit f08b61e

Please sign in to comment.