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

Commit 92d9286

Browse files
authored
Update CI configurations (#57)
* Update CI configurations Update the CI configurations, primarily ensuring that Node.js 6 is installed for the linters. Uses the new flag to use the system Node.js to run the linters.
1 parent 91efcfa commit 92d9286

File tree

3 files changed

+64
-44
lines changed

3 files changed

+64
-44
lines changed

.travis.yml

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
### Project specific config ###
2+
3+
# Installed for linting the project
4+
language: node_js
5+
6+
matrix:
7+
include:
8+
- os: linux
9+
node_js: "6"
10+
env: ATOM_CHANNEL=stable
11+
12+
- os: linux
13+
node_js: "6"
14+
env: ATOM_CHANNEL=beta
15+
16+
- os: osx
17+
node_js: "6"
18+
env: ATOM_CHANNEL=stable
19+
20+
env:
21+
global:
22+
- APM_TEST_PACKAGES=""
23+
- ATOM_LINT_WITH_BUNDLED_NODE="false"
24+
25+
### Generic setup follows ###
26+
script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
27+
28+
# Needed to disable the auto-install step running `npm install`
29+
install: true
30+
131
notifications:
232
email:
333
on_success: never
@@ -7,25 +37,11 @@ branches:
737
only:
838
- master
939

10-
script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
11-
1240
git:
1341
depth: 10
1442

1543
sudo: false
1644

17-
os:
18-
- linux
19-
- osx
20-
21-
env:
22-
global:
23-
- APM_TEST_PACKAGES=""
24-
25-
matrix:
26-
- ATOM_CHANNEL=stable
27-
- ATOM_CHANNEL=beta
28-
2945
addons:
3046
apt:
3147
packages:

appveyor.yml

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
1-
version: "{build}"
2-
os: Windows Server 2012 R2
1+
### Project specific config ###
2+
environment:
3+
APM_TEST_PACKAGES:
4+
ATOM_LINT_WITH_BUNDLED_NODE: "false"
5+
6+
matrix:
7+
- ATOM_CHANNEL: stable
8+
- ATOM_CHANNEL: beta
9+
10+
install:
11+
# Install Node.js to run any configured linters
12+
- ps: Install-Product node 6
13+
14+
### Generic setup follows ###
15+
build_script:
16+
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/atom/ci/master/build-package.ps1'))
17+
318
branches:
419
only:
520
- master
21+
22+
version: "{build}"
23+
platform: x64
24+
clone_depth: 10
25+
skip_tags: true
626
test: off
727
deploy: off
8-
9-
install:
10-
- appveyor DownloadFile https://atom.io/download/windows -FileName AtomSetup.exe
11-
- AtomSetup.exe /silent
12-
13-
build_script:
14-
- cd %APPVEYOR_BUILD_FOLDER%
15-
- SET PATH=%LOCALAPPDATA%\atom\bin;%PATH%
16-
- atom -v
17-
- apm -v
18-
- apm clean
19-
- apm install
20-
- apm test

circle.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
dependencies:
2-
pre:
3-
# Force updating wget due to the current containers being too out of date
4-
- sudo apt-get update
5-
- sudo apt-get install wget
6-
override:
7-
- wget -O atom-amd64.deb https://atom.io/download/deb
8-
# - sudo apt-get update # Cut out until wget is fixed on the containers
9-
- sudo dpkg --install atom-amd64.deb || true
10-
- sudo apt-get -f install
11-
- apm install
121
test:
132
override:
14-
- atom -v
15-
- apm -v
16-
- npm test
17-
- apm test
3+
- curl -Ls https://github.com/Arcanemagus/ci/raw/atomlinter/build-package.sh | sh
4+
5+
dependencies:
6+
override:
7+
- echo "Managed in the script"
8+
9+
machine:
10+
node:
11+
version: 6
12+
environment:
13+
ATOM_LINT_WITH_BUNDLED_NODE: "false"
14+
APM_TEST_PACKAGES: ""

0 commit comments

Comments
 (0)