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

Commit 80675fb

Browse files
author
Spain
committed
🚥 CI: Update configs for CI services
* Setup CI for a lint, build, test sequence * Remove ucompiler, just use babel directly * Add command for publishing with apm (`npm run publish -- <bump>`)
1 parent 6e016ab commit 80675fb

File tree

13 files changed

+34
-494
lines changed

13 files changed

+34
-494
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
spec/fixtures/**/*.js
2+
lib/**/*.js

.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
node_modules
1+
/lib/
2+
/node_modules/
23
*.log
34
.idea
4-
5-
# Keep node_modules test fixtures
6-
!spec/fixtures/local-eslint/node_modules

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ notifications:
1010
on_failure: change
1111
os: osx
1212

13-
script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
13+
script:
14+
- npm i
15+
- npm run compile
16+
- 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'

appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@ build_script:
1414
- cd %APPVEYOR_BUILD_FOLDER%
1515
- SET PATH=%LOCALAPPDATA%\atom\bin;%PATH%
1616
- apm clean
17+
- npm i
18+
- npm run compile
1719
- apm install
1820
- apm test

circle.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
dependencies:
2-
override:
3-
- wget -O atom-amd64.deb https://atom.io/download/deb
2+
pre:
43
- sudo apt-get update
4+
- sudo apt-get install wget
5+
post:
6+
- wget -O atom-amd64.deb https://atom.io/download/deb
57
- sudo dpkg --install atom-amd64.deb || true
68
- sudo apt-get -f install -y
7-
- atom -v
8-
- apm install
99
test:
1010
override:
11-
- ./node_modules/.bin/eslint lib
12-
- ./node_modules/.bin/eslint spec
11+
- npm run lint
12+
- npm run compile
13+
- atom -v
14+
- apm install
1315
- apm test

lib/helpers.js

Lines changed: 0 additions & 170 deletions
This file was deleted.

0 commit comments

Comments
 (0)