Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit d06d7a3

Browse files
authored
Merge pull request #47 from AtomLinter/arcanemagus/automated-deployment
Automated deployment
2 parents 4feff92 + 17b4bce commit d06d7a3

File tree

3 files changed

+11259
-43
lines changed

3 files changed

+11259
-43
lines changed

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,25 @@ jobs:
1212
- stage: test
1313
env: ATOM_CHANNEL=beta
1414

15+
# Check the commit messages
16+
- stage: test
17+
install:
18+
- npm install
19+
before_script: skip
20+
script:
21+
- commitlint-travis
22+
23+
- stage: release
24+
# Since the deploy needs APM, currently the simplest method is to run
25+
# build-package.sh, which requires the specs to pass.
26+
before_deploy:
27+
- export PATH=${PATH}:${HOME}/atom/usr/bin/
28+
deploy:
29+
provider: script
30+
skip_cleanup: true
31+
script:
32+
- npx semantic-release
33+
1534
### Generic setup follows ###
1635
script:
1736
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
@@ -44,3 +63,5 @@ addons:
4463

4564
stages:
4665
- test
66+
- name: release
67+
if: (NOT type = pull_request) AND branch = master

0 commit comments

Comments
 (0)