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

Update CI configurations #57

Merged
merged 2 commits into from
Aug 22, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 30 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
### Project specific config ###

# Installed for linting the project
language: node_js

matrix:
include:
- os: linux
node_js: "6"
env: ATOM_CHANNEL=stable

- os: linux
node_js: "6"
env: ATOM_CHANNEL=beta

- os: osx
node_js: "6"
env: ATOM_CHANNEL=stable

env:
global:
- APM_TEST_PACKAGES=""
- ATOM_LINT_WITH_BUNDLED_NODE="false"

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

# Needed to disable the auto-install step running `npm install`
install: true

notifications:
email:
on_success: never
Expand All @@ -7,25 +37,11 @@ branches:
only:
- master

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

git:
depth: 10

sudo: false

os:
- linux
- osx

env:
global:
- APM_TEST_PACKAGES=""

matrix:
- ATOM_CHANNEL=stable
- ATOM_CHANNEL=beta

addons:
apt:
packages:
Expand Down
37 changes: 22 additions & 15 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
version: "{build}"
os: Windows Server 2012 R2
### Project specific config ###
environment:
APM_TEST_PACKAGES:
ATOM_LINT_WITH_BUNDLED_NODE: "false"

matrix:
- ATOM_CHANNEL: stable
- ATOM_CHANNEL: beta

install:
# Install Node.js to run any configured linters
- ps: Install-Product node 6

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

branches:
only:
- master

version: "{build}"
platform: x64
clone_depth: 10
skip_tags: true
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
27 changes: 12 additions & 15 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
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
- npm test
- apm test
- curl -Ls https://github.com/Arcanemagus/ci/raw/atomlinter/build-package.sh | sh

dependencies:
override:
- echo "Managed in the script"

machine:
node:
version: 6
environment:
ATOM_LINT_WITH_BUNDLED_NODE: "false"
APM_TEST_PACKAGES: ""