-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
66 lines (57 loc) · 2.58 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
sudo: false
dist: xenial
language: node_js
node_js:
- "12"
cache:
npm: false
branches:
except:
- gh-pages
notifications:
email:
on_success: change
on_failure: always
stages:
- Unit Tests
- Integration Tests
- name: Deployment
if: branch = master
jobs:
include:
- stage: Unit Tests
before_install:
- npm install -g codecov
script:
- npm run lint
- npm run lintspec
- npm run coverage
- npm run examples
after_script:
- codecov
- stage: Integration Tests
env:
- ATOM_CHANNEL=stable
before_script:
- npm run build
- cd spec/integration
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
- chmod u+x build-package.sh
script:
- ./build-package.sh
- stage: Integration Tests
env:
- ATOM_CHANNEL=beta
before_script:
- npm run build
- cd spec/integration
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
- chmod u+x build-package.sh
script:
- ./build-package.sh
- stage: Deployment
env:
- secure: Zeuto7Ysb9lCzrQvL6YqCmcJ4faMbijNcQgC2T3YWaVTccuXNg3qvmfREDAUfEbia5MjB1TRaXHICf8mKJ+iZd3N69AEEq4yQWhVdQE6trvaT35jXrW2MlaY1p5JcFdc0pyC6WSz2sPtM67wNchvhY6ADX1JayiVZ+fJRg8MRXpmkwjfX7BMLBf9f6XUuEyWSVezjt0sYGSJDwaimgdfddMFDXT+mHHPHkd6AThhrc3gWFwiUcUn2LH+dgOERgtAqyTT6BnJurkETN/vwuEQLywL772i0EBq8FMmZt/Fskj8P14T5EunQ5hDRkrd7waZpE1B/kXgaNCrLvIT9Du3Do/dPSR0tsnO3MaLWlrGi2H/WEsQy6nXpLz2F4Pmn8oh02JUkIoi3Xl28uvLrW4YdLp7LhN2krlZPVzeuD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