This repository was archived by the owner on Aug 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +21
-20
lines changed Expand file tree Collapse file tree 3 files changed +21
-20
lines changed Original file line number Diff line number Diff line change 1
- # Project specific config
1
+ # ## Project specific config ###
2
2
3
3
# Installed for linting the project
4
4
language : node_js
@@ -17,8 +17,15 @@ matrix:
17
17
env : ATOM_CHANNEL=stable
18
18
node_js : " 6"
19
19
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
22
29
23
30
notifications :
24
31
email :
Original file line number Diff line number Diff line change 1
- # Project specific config
1
+ # ## Project specific config ###
2
2
environment :
3
+ ATOM_LINT_WITH_BUNDLED_NODE : " false"
4
+
3
5
matrix :
4
6
- ATOM_CHANNEL : stable
5
7
- ATOM_CHANNEL : beta
@@ -8,9 +10,9 @@ install:
8
10
# Install Node.js to run any configured linters
9
11
- ps : Install-Product node 6
10
12
11
- # Generic setup follows
13
+ # ## Generic setup follows ###
12
14
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'))
14
16
15
17
branches :
16
18
only :
Original file line number Diff line number Diff line change 1
- dependencies :
1
+ test :
2
2
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
8
4
9
- test :
5
+ dependencies :
10
6
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"
18
8
19
9
machine :
20
10
node :
21
11
version : 6
12
+ environment :
13
+ ATOM_LINT_WITH_BUNDLED_NODE : " false"
You can’t perform that action at this time.
0 commit comments