Skip to content

Commit

Permalink
Merge pull request #253 from GoogleChromeLabs/upgrade/workbox-v5.1.1
Browse files Browse the repository at this point in the history
Upgrade Workbox to v5.1.1
  • Loading branch information
westonruter authored Mar 25, 2020
2 parents eab505a + f037faa commit 5b9b552
Show file tree
Hide file tree
Showing 4 changed files with 976 additions and 830 deletions.
29 changes: 12 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,39 +18,34 @@ cache:
- $HOME/.composer/cache
- $HOME/.npm
- $HOME/.nvm/.cache
- $HOME/phpunit-bin
- $HOME/deployment-targets

branches:
only:
- master

install:
- composer install
- if [[ $WP_TRAVISCI == *"test"* ]]; then composer global require phpunit/phpunit "^$PHPUNIT_VERSION"; fi
- nvm install 8.15.1 && nvm use 8.15.1
- npm install
- npm run build
- export DEV_LIB_PATH=vendor/xwp/wp-dev-lib/scripts
- source "$DEV_LIB_PATH/travis.install.sh"
- npm run build && rm -r build

script:
- source "$DEV_LIB_PATH/travis.script.sh"

after_script:
- source "$DEV_LIB_PATH/travis.after_script.sh"
- if [[ $WP_TRAVISCI == *"lint"* ]]; then npm run lint; fi
- if [[ $WP_TRAVISCI == *"test"* ]]; then npm run test; fi

jobs:
include:
- stage: test
php: "7.3"
env: WP_VERSION=trunk
env: WP_VERSION=trunk PHPUNIT_VERSION=7 WP_TRAVISCI=lint,phpunit
- php: "7.2"
env: WP_VERSION=latest DEV_LIB_SKIP=phpcs
- php: "5.6"
env: WP_VERSION=latest DEV_LIB_SKIP=phpcs
- php: "5.6"
env: WP_VERSION=latest DEV_LIB_SKIP=phpcs
env: WP_VERSION=latest PHPUNIT_VERSION=7 WP_TRAVISCI=phpunit
- php: "7.1"
env: WP_VERSION=latest DEV_LIB_SKIP=phpcs
env: WP_VERSION=latest PHPUNIT_VERSION=7 WP_TRAVISCI=phpunit
- php: "7.0"
env: WP_VERSION=latest DEV_LIB_SKIP=phpcs
env: WP_VERSION=latest PHPUNIT_VERSION=6 WP_TRAVISCI=phpunit
- php: "5.6"
env: WP_VERSION=latest PHPUNIT_VERSION=5 WP_TRAVISCI=phpunit
- php: "5.6"
env: WP_VERSION=latest PHPUNIT_VERSION=5 WP_TRAVISCI=phpunit
Loading

0 comments on commit 5b9b552

Please sign in to comment.