File: .travis.yml

package info (click to toggle)
node-babel 6.26.0+dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 16,772 kB
  • sloc: sh: 151; makefile: 76
file content (38 lines) | stat: -rw-r--r-- 911 bytes parent folder | download
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
git:
  depth: 10
sudo: false
language: node_js
cache:
  directories:
  - node_modules
node_js:
  - '6'
  - '5'
  - '4'
  - '0.12'

env:
  - JOB=test

script:
  - 'if [ "$JOB" = "test" ]; then make test-ci; fi'
  - 'if [ "$JOB" = "test-coverage" ]; then make test-ci-coverage; fi'
  - 'if [ "$JOB" = "lint" ]; then make lint && make flow; fi'

matrix:
  fast_finish: true
  include:
    - node_js: "7"
      env: JOB=test-coverage
    - node_js: "node"
      env: JOB=lint

notifications:
  slack:
    on_success: change
    on_failure: always
    rooms:
      # Generate with
      #     travis encrypt "babeljs:<token>#activity" --add notifications.slack.rooms
      # where <token> is from the Slack integration settings.
      secure: SrwPKRe2AiNAKRo/+2yW/x4zxbWf2FBXuBuuPkdTJVTpWe++Jin1lXYJWTKP1a1i/IbmhffBO9YZcUFbeuXJpRM083vO8VYpyuBMQRqWD+Z3o+ttPlHGOJgnj0nkIcGRk6k7PpyHNnIkixfEJDvbbg9lN1Jswb3xkL8iYIHpuFE=