File: .travis.yml

package info (click to toggle)
node-extract-text-webpack-plugin 3.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,156 kB
  • sloc: makefile: 6; sh: 2
file content (48 lines) | stat: -rw-r--r-- 1,320 bytes parent folder | download | duplicates (2)
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
37
38
39
40
41
42
43
44
45
46
47
48
sudo: false
dist: trusty
language: node_js
branches:
  only:
    - master
jobs:
  fast_finish: true
  allow_failures:
    - env: WEBPACK_VERSION=canary
  include:
    - &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.8
      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
  - node --version
  - npm --version
before_script:
  - |-
    if [ "$WEBPACK_VERSION" ]; then
      npm i --no-save webpack@$WEBPACK_VERSION
    fi
script:
  - 'npm run travis:$JOB_PART'
after_success:
  - 'bash <(curl -s https://codecov.io/bash)'