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

Commit

Permalink
Update CI builds and add CircleCI
Browse files Browse the repository at this point in the history
* Adds a configuration for CircleCI
* Update the tested Ruby version to 2.3.1
* Ensure Node.js v6 is installed for linters
  • Loading branch information
Arcanemagus committed Jul 6, 2016
1 parent 89a6c2f commit c53f056
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 7 deletions.
16 changes: 11 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Project specific config
language: ruby
rvm:
- 2.2.3
- 2.3.1

os:
- linux
Expand All @@ -13,16 +14,25 @@ env:

install:
- gem install rubocop
# Installed for linting the project
- nvm install 6

before_script:
- node --version
- rubocop --version

# Generic setup follows
script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'

notifications:
email:
on_success: never
on_failure: change

branches:
only:
- master

git:
depth: 10

Expand All @@ -35,7 +45,3 @@ addons:
- git
- libgnome-keyring-dev
- fakeroot

branches:
only:
- master
8 changes: 6 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,23 @@ platform: x64

environment:
APM_TEST_PACKAGES:
RUBY_VERSION: 22-x64
RUBY_VERSION: 23-x64
matrix:
- ATOM_CHANNEL: stable
- ATOM_CHANNEL: beta

install:
- ps: Install-Product node 5
- ps: Install-Product node 6
- SET PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
- gem update --system
- gem install rubocop --no-document

before_build:
- node --version
- ruby --version
- gem --version
- rubocop --version

build_script:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/atom/ci/master/build-package.ps1'))

Expand All @@ -28,3 +30,5 @@ branches:

deploy: off
test: off
clone_depth: 10
skip_tags: true
19 changes: 19 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
dependencies:
override:
- curl -L https://atom.io/download/deb -o atom-amd64.deb
- sudo dpkg --install atom-amd64.deb || true
- sudo apt-get update
- sudo apt-get -f install
- apm install
test:
override:
- npm run lint
- atom -v
- apm -v
- apm test

machine:
node:
version: 6
ruby:
version: 2.3.1

0 comments on commit c53f056

Please sign in to comment.