Skip to content

Commit

Permalink
Update CI Config
Browse files Browse the repository at this point in the history
Update Travis to the current standard.
Add AppVeyor and CircleCI configs.
  • Loading branch information
Arcanemagus committed Feb 3, 2016
1 parent c8f9686 commit 108f98a
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
language: objective-c
language: generic

sudo: false

branches:
only:
- master

git:
depth: 10

os:
- linux
- osx

env:
matrix:
- ATOM_CHANNEL=stable
- ATOM_CHANNEL=beta

addons:
apt:
packages:
- build-essential
- git
- libgnome-keyring-dev
- fakeroot

notifications:
email:
on_success: never
Expand Down
21 changes: 21 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: "{build}"
os: Windows Server 2012 R2
branches:
only:
- master

test: off
deploy: off

install:
- appveyor DownloadFile https://atom.io/download/windows -FileName AtomSetup.exe
- AtomSetup.exe /silent

build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- SET PATH=%LOCALAPPDATA%\atom\bin;%PATH%
- atom -v
- apm -v
- apm clean
- apm install
- apm test
18 changes: 18 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
dependencies:
pre:
# Force updating wget due to the current containers being too out of date
- sudo apt-get update
- sudo apt-get install wget
override:
- wget -O atom-amd64.deb https://atom.io/download/deb
# - sudo apt-get update # Cut out until wget is fixed on the containers
- sudo dpkg --install atom-amd64.deb || true
- sudo apt-get -f install
- apm install

test:
override:
- atom -v
- apm -v
- ./node_modules/.bin/eslint ./
- apm test

0 comments on commit 108f98a

Please sign in to comment.