From ddbeed1dd9113aa1ae953f165e90dfbfcca5568c Mon Sep 17 00:00:00 2001 From: Edvin Hultberg Date: Tue, 15 Aug 2017 21:49:01 +0200 Subject: [PATCH 1/8] add travis config from atom/ci --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index e8e09d4..ef7068a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -## Project specific config ### +### Project specific config ### language: generic env: @@ -12,8 +12,7 @@ env: os: - linux - -dist: trusty + - osx ### Generic setup follows ### script: @@ -35,11 +34,12 @@ git: sudo: false +dist: trusty + addons: apt: packages: - build-essential - - git - - libgnome-keyring-dev - - libsecret-1-dev - fakeroot + - git + - libsecret-1-dev From c1a464ba1399149bfa206cb780d4b55800af1c85 Mon Sep 17 00:00:00 2001 From: Edvin Hultberg Date: Tue, 15 Aug 2017 21:51:18 +0200 Subject: [PATCH 2/8] update readme, trigger new build on travis --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3f247de..83f5566 100644 --- a/README.md +++ b/README.md @@ -39,3 +39,5 @@ Groundwork is done. More ex commands are easy to add and will be coming as time ## License MIT + + From 11abdb95fa17ec469e0844c9d5fda9fa13bb61ad Mon Sep 17 00:00:00 2001 From: Edvin Hultberg Date: Tue, 15 Aug 2017 21:55:41 +0200 Subject: [PATCH 3/8] damn --- keymaps/ex-mode.cson | 1 + 1 file changed, 1 insertion(+) diff --git a/keymaps/ex-mode.cson b/keymaps/ex-mode.cson index 6191513..d857ccb 100644 --- a/keymaps/ex-mode.cson +++ b/keymaps/ex-mode.cson @@ -5,6 +5,7 @@ # Below is a basic keybinding which registers on all platforms by applying to # the root workspace element. + # For more detailed documentation see # https://atom.io/docs/latest/advanced/keymaps 'atom-text-editor.vim-mode-plus:not(.insert-mode)': From 566996a9fd7da096c832b28793ea32f73724a415 Mon Sep 17 00:00:00 2001 From: Edvin Hultberg Date: Tue, 15 Aug 2017 22:08:06 +0200 Subject: [PATCH 4/8] use example from atom/wrap-guide --- .travis.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index ef7068a..a148f2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ ### Project specific config ### -language: generic +language: objective-c env: global: - APM_TEST_PACKAGES="vim-mode-plus" - - ATOM_LINT_WITH_BUNDLED_NODE="true" + - ATOM_LINT_WITH_BUNDLED_NODE="false" matrix: - ATOM_CHANNEL=stable @@ -12,30 +12,18 @@ env: os: - linux - - osx ### Generic setup follows ### -script: - - curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh - - chmod u+x build-package.sh - - ./build-package.sh +script: 'curl -s -O 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 -sudo: false - -dist: trusty - addons: apt: packages: From c4f739f390d23d80a94298f84168a76b44f2f74f Mon Sep 17 00:00:00 2001 From: Edvin Hultberg Date: Wed, 16 Aug 2017 09:33:30 +0200 Subject: [PATCH 5/8] Lint with bundled node and fix script run In previous commit, I created a one-liner for running build-package, it did not seem to work. --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a148f2e..3ff9b0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ language: objective-c env: global: - APM_TEST_PACKAGES="vim-mode-plus" - - ATOM_LINT_WITH_BUNDLED_NODE="false" + - ATOM_LINT_WITH_BUNDLED_NODE="true" matrix: - ATOM_CHANNEL=stable @@ -14,7 +14,10 @@ os: - linux ### Generic setup follows ### -script: 'curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh' +script: + - curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh + - chmod +x build-package.sh + - ./build-package.sh notifications: email: From bf2d86248accde8ff565ec6d9309575a0e9ec509 Mon Sep 17 00:00:00 2001 From: Edvin Hultberg Date: Wed, 16 Aug 2017 19:50:48 +0200 Subject: [PATCH 6/8] use generic and Xenial as dist --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3ff9b0a..e3d146b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ ### Project specific config ### -language: objective-c +language: generic env: global: @@ -24,6 +24,8 @@ notifications: on_success: never on_failure: change +dist: xenial + git: depth: 10 From 054eca5d79847aebd84e26bd099041464ef323ad Mon Sep 17 00:00:00 2001 From: Edvin Hultberg Date: Wed, 16 Aug 2017 19:55:25 +0200 Subject: [PATCH 7/8] Another attempt: Use same as vim-mode-plus --- .travis.yml | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/.travis.yml b/.travis.yml index e3d146b..d73c8e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,38 +1,11 @@ -### Project specific config ### -language: generic - -env: - global: - - APM_TEST_PACKAGES="vim-mode-plus" - - ATOM_LINT_WITH_BUNDLED_NODE="true" - - matrix: - - ATOM_CHANNEL=stable - - ATOM_CHANNEL=beta - -os: - - linux - -### Generic setup follows ### -script: - - curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh - - chmod +x build-package.sh - - ./build-package.sh +language: objective-c notifications: email: on_success: never on_failure: change -dist: xenial +script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh' git: depth: 10 - -addons: - apt: - packages: - - build-essential - - fakeroot - - git - - libsecret-1-dev From 6e58c117510f3828499a355e0b55ece863d07d90 Mon Sep 17 00:00:00 2001 From: Edvin Hultberg Date: Sat, 19 Aug 2017 09:36:44 +0200 Subject: [PATCH 8/8] add environment variables --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index d73c8e2..b9b8fa2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,14 @@ language: objective-c +env: + global: + - APM_TEST_PACKAGES="vim-mode-plus" + - ATOM_LINT_WITH_BUNDLED_NODE="true" + + matrix: + - ATOM_CHANNEL=stable + - ATOM_CHANNEL=beta + notifications: email: on_success: never