Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Use official Atom CI scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Feb 16, 2018
1 parent ad73769 commit 886d7ef
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
25 changes: 14 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
language: node_js
node_js:
- 'node'
before_script:
- bash <(curl -s https://raw.githubusercontent.com/wooorm/atom-travis/master/install.sh)
- export DISPLAY=":99"
language: generic
os: linux
script:
- npm test
- npm run rebuild
- apm test
env:
- CC=clang CXX=clang++ npm_config_clang=1
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
- chmod u+x build-package.sh
- ./build-package.sh
- npm rebuild
- npm run test
addons:
apt:
packages:
- build-essential
- fakeroot
- git
- libsecret-1-dev
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"scripts": {
"lint": "xo --ignore='mocks/**/*'",
"pretest": "npm run lint",
"rebuild": "electron-rebuild -v $(atom -v | grep Electron | sed -e 's/^Electron: //')",
"test": "ava"
},
"keywords": [
Expand All @@ -40,7 +39,6 @@
"devDependencies": {
"ava": "^0.19.1",
"babel-register": "^6.18.0",
"electron-rebuild": "^1.4.0",
"proxyquire": "^1.7.10",
"text-buffer": "^11.4.0",
"tmp": "0.0.31"
Expand Down
4 changes: 2 additions & 2 deletions spec.js → spec/linter-xo.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/** @babel */
/* eslint-env atom, jasmine */
/* global waitsForPromise */
import {files} from './mocks';
import {provideLinter} from '.';
import {files} from '../mocks';
import {provideLinter} from '..';

describe('xo provider for linter', () => {
const {lint} = provideLinter();
Expand Down

0 comments on commit 886d7ef

Please sign in to comment.