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

Commit

Permalink
Merge pull request #1128 from keplersj/continous-deployment
Browse files Browse the repository at this point in the history
Initial Adoption of Continous Deployment using semantic-release
  • Loading branch information
Arcanemagus authored Jan 28, 2019
2 parents 72b8ee3 + 786306d commit 6106384
Show file tree
Hide file tree
Showing 3 changed files with 6,633 additions and 824 deletions.
22 changes: 18 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
### Project specific config ###
os: linux
language: node_js
node_js: lts/*
install: skip
os: linux

jobs:
include:
Expand All @@ -18,12 +18,24 @@ jobs:

# Check the commit messages and run the extra lint script
- stage: test
before_script: skip
install:
- npm install
before_script: skip
script:
- commitlint-travis

- stage: release
# Since the deploy needs APM, currently the simplest method is to run
# build-package.sh, which requires the specs to pass, so this must run in
# the main language instead of Node.js.
before_script:
- export PATH=${PATH}:${HOME}/atom/usr/bin/
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release

### Generic setup follows ###
script:
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
Expand All @@ -43,10 +55,10 @@ branches:
git:
depth: 10

dist: trusty

sudo: false

dist: trusty

addons:
apt:
packages:
Expand All @@ -57,3 +69,5 @@ addons:

stages:
- test
- name: release
if: (NOT type = pull_request) AND branch = master
Loading

0 comments on commit 6106384

Please sign in to comment.