From c428061e39d1d6171f744fd765e101f1f8399037 Mon Sep 17 00:00:00 2001 From: Kevin DeJong Date: Tue, 10 Jul 2018 21:59:17 -0500 Subject: [PATCH 1/2] Add travis testing --- .travis.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..fe7b505 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,46 @@ +### Project specific config ### +language: generic + +env: + global: + - APM_TEST_PACKAGES="" + - ATOM_LINT_WITH_BUNDLED_NODE="true" + + matrix: + - ATOM_CHANNEL=stable + - ATOM_CHANNEL=beta + +os: + - linux + - osx + +### Generic setup follows ### +script: + - sudo pip install cfn-lint + - curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh + - chmod u+x build-package.sh + - ./build-package.sh + +notifications: + email: + on_success: never + on_failure: change + +branches: + only: + - master + +git: + depth: 10 + +sudo: false + +dist: trusty + +addons: + apt: + packages: + - build-essential + - fakeroot + - git + - libsecret-1-dev From 74b0a348744eb9651d4c4807b83ac5f66fe88fd2 Mon Sep 17 00:00:00 2001 From: Kevin DeJong Date: Wed, 11 Jul 2018 11:30:34 -0500 Subject: [PATCH 2/2] Try pip3 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fe7b505..92c67e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ os: ### Generic setup follows ### script: - - sudo pip install cfn-lint + - sudo pip2 install cfn-lint - curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh - chmod u+x build-package.sh - ./build-package.sh