forked from webpack-contrib/jshint-loader
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
36 lines (35 loc) · 1.04 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Tasks are commented out purposfully. Will be uncommented for webpack-defaults application
sudo: false
language: node_js
branches:
only:
- master
matrix:
fast_finish: true
include:
- os: linux
node_js: '6'
env: JOB_PART=test
- os: linux
node_js: '4.3'
env: JOB_PART=test
- os: linux
node_js: '7'
env: JOB_PART=test
# - os: linux
# node_js: '7'
# env: WEBPACK_VERSION="2.2.0" BITHOUND_CHECK=true JOB_PART=lint
# - os: linux
# node_js: '7'
# env: WEBPACK_VERSION="2.2.0" JOB_PART=coverage
before_install:
- nvm --version
- node --version
before_script:
# - if [ "$WEBPACK_VERSION" ]; then yarn add webpack@^$WEBPACK_VERSION; fi
# - if [ "$BITHOUND_CHECK" ]; then npm install -g bithound; bithound check git@github.com:$TRAVIS_REPO_SLUG.git; fi
script:
- yarn run travis:$JOB_PART
# after_success:
# - bash <(curl -s https://codecov.io/bash)
# TODO: This test suite will throw schema errors with webpack 2.2.x installed. Address this on defaults upgrade to Jest