forked from rwjblue/codemod-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (40 loc) · 790 Bytes
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
language: node_js
node_js:
- "12"
sudo: false
dist: trusty
cache:
yarn: true
branches:
only:
- master
# npm version tags
- /^v\d+\.\d+\.\d+/
stages:
- test
- additional tests
jobs:
fail_fast: true
include:
# runs tests with current locked deps and linting
- stage: test
env: NAME=test
script:
- yarn lint:js
- yarn test
- stage: additional tests
env: NAME=floating dependencies
install: yarn install --no-lockfile --non-interactive
script: yarn test
- name: "Node 10"
node_js: "10"
- name: "Node 8"
node_js: "8"
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install:
- yarn install
script:
- yarn test