This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from AtomLinter/arcanemagus/fix-cd
Fix Continuous Delivery
- Loading branch information
Showing
3 changed files
with
4,493 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
### Project specific config ### | ||
os: linux | ||
language: perl | ||
|
||
jobs: | ||
include: | ||
# Test PHP versions | ||
- stage: test | ||
env: ATOM_CHANNEL=stable | ||
- stage: test | ||
env: ATOM_CHANNEL=beta | ||
|
||
# Check the commit messages | ||
- stage: test | ||
language: node_js | ||
node_js: lts/* | ||
before_script: skip | ||
install: | ||
- npm install | ||
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 | ||
|
||
install: | ||
# Install Perl::Critic | ||
- PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'install Perl::Critic' | ||
|
||
before_script: | ||
- perlcritic --version | ||
|
||
### Generic setup follows ### | ||
script: | ||
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh | ||
- chmod u+x build-package.sh | ||
- "./build-package.sh" | ||
|
||
notifications: | ||
email: | ||
on_success: never | ||
on_failure: change | ||
|
||
branches: | ||
only: | ||
- master | ||
- "/^greenkeeper/.*$/" | ||
|
||
git: | ||
depth: 10 | ||
|
||
sudo: false | ||
|
||
dist: trusty | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- build-essential | ||
- git | ||
- libgnome-keyring-dev | ||
- fakeroot | ||
|
||
stages: | ||
- test | ||
- name: release | ||
if: (NOT type = pull_request) AND branch = master |
Oops, something went wrong.