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

Commit 814d94a

Browse files
authored
Merge pull request #134 from AtomLinter/update-ci2
Update CI
2 parents 3190393 + 57e601f commit 814d94a

File tree

3 files changed

+21
-20
lines changed

3 files changed

+21
-20
lines changed

.travis.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Project specific config
1+
### Project specific config ###
22

33
# Installed for linting the project
44
language: node_js
@@ -17,8 +17,15 @@ matrix:
1717
env: ATOM_CHANNEL=stable
1818
node_js: "6"
1919

20-
# Generic setup follows
21-
script: 'curl -Ls https://github.com/Arcanemagus/ci/raw/atomlinter/build-package.sh | sh'
20+
env:
21+
global:
22+
- ATOM_LINT_WITH_BUNDLED_NODE="false"
23+
24+
### Generic setup follows ###
25+
script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
26+
27+
# Needed to disable the auto-install step running `npm install`
28+
install: true
2229

2330
notifications:
2431
email:

appveyor.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# Project specific config
1+
### Project specific config ###
22
environment:
3+
ATOM_LINT_WITH_BUNDLED_NODE: "false"
4+
35
matrix:
46
- ATOM_CHANNEL: stable
57
- ATOM_CHANNEL: beta
@@ -8,9 +10,9 @@ install:
810
# Install Node.js to run any configured linters
911
- ps: Install-Product node 6
1012

11-
# Generic setup follows
13+
### Generic setup follows ###
1214
build_script:
13-
- ps: iex ((new-object net.webclient).DownloadString('https://github.com/Arcanemagus/ci/raw/atomlinter/build-package.ps1'))
15+
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/atom/ci/master/build-package.ps1'))
1416

1517
branches:
1618
only:

circle.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
1-
dependencies:
1+
test:
22
override:
3-
- curl -L https://atom.io/download/deb -o atom-amd64.deb
4-
- sudo dpkg --install atom-amd64.deb || true
5-
- sudo apt-get update
6-
- sudo apt-get -f install
7-
- npm install
3+
- curl -s https://raw.githubusercontent.com/Arcanemagus/ci/atomlinter/build-package.sh | sh
84

9-
test:
5+
dependencies:
106
override:
11-
- npm run lint
12-
# Remove the node_modules installed with the system npm to test real apm install
13-
- rm -Rf node_modules
14-
- atom -v
15-
- apm -v
16-
- apm install --production
17-
- apm test
7+
- echo "Managed in the script"
188

199
machine:
2010
node:
2111
version: 6
12+
environment:
13+
ATOM_LINT_WITH_BUNDLED_NODE: "false"

0 commit comments

Comments
 (0)