From fbb80628d54df3a6954c1f4a759f4fa9aaf8386e Mon Sep 17 00:00:00 2001 From: Landon Abney Date: Tue, 5 Jul 2016 15:27:44 -0700 Subject: [PATCH] Update CI configurations --- .travis.yml | 31 +++++++++++++++++-------------- appveyor.yml | 34 +++++++++++++++++++--------------- circle.yml | 13 ++++++------- 3 files changed, 42 insertions(+), 36 deletions(-) diff --git a/.travis.yml b/.travis.yml index 35cd5a4..63f56d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,20 @@ +# Project specific config +os: + - linux + - osx + +env: + matrix: + - ATOM_CHANNEL=stable + - ATOM_CHANNEL=beta + +# Installed for linting the project +language: node_js +node_js: "6" + +# Generic setup follows +script: 'curl -Ls https://github.com/Arcanemagus/ci/raw/atomlinter/build-package.sh | sh' + notifications: email: on_success: never @@ -7,25 +24,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: diff --git a/appveyor.yml b/appveyor.yml index 2500e03..9afd1b1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,20 +1,24 @@ -version: "{build}" -os: Windows Server 2012 R2 +# Project specific config +environment: + 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://github.com/Arcanemagus/ci/raw/atomlinter/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 diff --git a/circle.yml b/circle.yml index b679179..352a164 100644 --- a/circle.yml +++ b/circle.yml @@ -1,17 +1,16 @@ 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 + - 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: - atom -v - apm -v - - npm test - apm test + +machine: + node: + version: 6.1.0