File: .travis.yml

package info (click to toggle)
node-shelljs 0.8.5%2B~cs0.8.10-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,616 kB
  • sloc: javascript: 6,944; makefile: 2
file content (41 lines) | stat: -rw-r--r-- 1,065 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
language: c++
sudo: false
env:
  - NODE_VERSION="4"
  - NODE_VERSION="5"
  - NODE_VERSION="6"
  - NODE_VERSION="7"
  - NODE_VERSION="8"
  - NODE_VERSION="9"

# keep this blank to make sure there are no before_install steps
before_install:

install:
  - rm -rf ~/.nvm
  - git clone https://github.com/creationix/nvm.git ~/.nvm
  - source ~/.nvm/nvm.sh
  - nvm install $NODE_VERSION
  - node --version
  - npm --version
  - npm run ci-or-install
os:
  - linux
  - osx
script:
  - npm test
  # make sure when the docs are generated nothing changes (a.k.a. the docs have already been generated)
  - npm run gendocs
  - npm run after-travis "Make sure to generate docs!"
after_success:
  - npm run codecov -- -f coverage/lcov.info

# Gitter
notifications:
  email: false
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/743dc6b83b6dd05111ee
    on_success: change  # options: [always|never|change] default: always
    on_failure: always  # options: [always|never|change] default: always
    on_start: never     # options: [always|never|change] default: always