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

Commit

Permalink
refactor: simplify source code && update defaults (#63)
Browse files Browse the repository at this point in the history
 - `produceSourceMap` is now on by default & must be explicitly
disabled if so desired
  • Loading branch information
mattlewis92 authored and joshwiens committed Jul 10, 2017
1 parent 75a4c67 commit 182ce6a
Show file tree
Hide file tree
Showing 10 changed files with 4,101 additions and 981 deletions.
42 changes: 28 additions & 14 deletions .travis.yml
@@ -1,23 +1,37 @@
sudo: false
dist: trusty
language: node_js
branches:
only:
- master
matrix:
jobs:
fast_finish: true
allow_failures:
- env: WEBPACK_VERSION=canary
include:
- os: linux
node_js: '8'
env: WEBPACK_VERSION="2.6.0" JOB_PART=lint
- os: linux
node_js: '4.3'
env: WEBPACK_VERSION="2.6.0" JOB_PART=test
- os: linux
node_js: '6'
env: WEBPACK_VERSION="2.6.0" JOB_PART=test
- os: linux
node_js: '8'
env: WEBPACK_VERSION="2.6.0" JOB_PART=coverage
- &test-latest
stage: Webpack latest
node_js: 6
env: WEBPACK_VERSION=latest JOB_PART=test
script: npm run travis:$JOB_PART
- <<: *test-latest
node_js: 4.3
env: WEBPACK_VERSION=latest JOB_PART=test
script: npm run travis:$JOB_PART
- <<: *test-latest
node_js: 8
env: WEBPACK_VERSION=latest JOB_PART=lint
script: npm run travis:$JOB_PART
- <<: *test-latest
node_js: 8
env: WEBPACK_VERSION=latest JOB_PART=coverage
script: npm run travis:$JOB_PART
after_success: 'bash <(curl -s https://codecov.io/bash)'
- stage: Webpack canary
before_script: npm i --no-save git://github.com/webpack/webpack.git#master
script: npm run travis:$JOB_PART
node_js: 8
env: WEBPACK_VERSION=canary JOB_PART=test
before_install:
- 'if [[ `npm -v` != 5* ]]; then npm i -g npm@^5.0.0; fi'
- nvm --version
Expand All @@ -26,7 +40,7 @@ before_install:
before_script:
- |-
if [ "$WEBPACK_VERSION" ]; then
npm i --no-save webpack@^$WEBPACK_VERSION
npm i --no-save webpack@$WEBPACK_VERSION
fi
script:
- 'npm run travis:$JOB_PART'
Expand Down
28 changes: 28 additions & 0 deletions appveyor.yml
@@ -0,0 +1,28 @@
branches:
only:
- master
init:
- git config --global core.autocrlf input
environment:
matrix:
- nodejs_version: '8'
webpack_version: latest
job_part: test
- nodejs_version: '6'
webpack_version: latest
job_part: test
- nodejs_version: '4.3'
webpack_version: latest
job_part: test
build: 'off'
matrix:
fast_finish: true
install:
- ps: Install-Product node $env:nodejs_version x64
- npm install
before_test:
- cmd: npm install webpack@%webpack_version%
test_script:
- node --version
- npm --version
- cmd: npm run appveyor:%job_part%

0 comments on commit 182ce6a

Please sign in to comment.