From 596ace1c670ea9200caa1f819d67d246a673f5c8 Mon Sep 17 00:00:00 2001 From: Akihiro Uchida Date: Sun, 22 Nov 2015 03:48:40 +0900 Subject: [PATCH] hello circleci and goodbye travisci --- .travis.yml | 14 -------------- circle.yml | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 14 deletions(-) delete mode 100644 .travis.yml create mode 100644 circle.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e32b1dc..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: python -python: - - '2.7' -install: pip install git+https://github.com/uchida/yamlfred.git -script: yamlfred create alfred-switch-audio -sudo: false -deploy: - provider: releases - api_key: - secure: BtI1EmF8SyCAB9QdN7Pj92En9PvSgK0TK8Y9xGXt5F4NZ9+hZSGdk9K62wnxpln1+2l3fSRlnqpysAVGEn5ujaKBEVQXEnfl6NSbzhanLD1s79uWfe0hd72f1F+kTXA4Bl/O5goW4hTSAB/uTX4rK9ADxXhfQJaC4yVMcDzgAqqdfWzKQabc3jma4IFH3ngRQDG+S01sGCYSI60klprNpAjUWE9XH8kHOvfiBdAwIGjq7shtrJmP3pKDrT3I/33b28jLZdzuMl4WDlfshQzIzFU44nZlUub+/mXC2Hl2CJ8uDKQmP34vin2w0az2vGbOQWSeIJRoqSn6Do/lu8xAT7OPysmXUA5nQJ7Vmmxxb0u9LFrGZFodITB5TvEDkJXGhaGP+SmH+apMs4odoomKQ6ijfSl1XmtPdNhbId9A+exHElgddEGLopKrYGbxa1KU4XkAdkAZi7RTt3k0jbx5ft5oJYvqXqRdwxBIzsJaCBKCIsqCGIduCrHDbG8s+s3Fht//Yl5GoV3MGtXLxYW8AjA9zhvTipkRJwtwmZ0eZNKGpd/BbvobglDNqmitIwsSItaRpHWjCqjM/77x1+JMM0KdCD5NbD9l//Afxcj9dhqNn2PZFT/hfCPRqIH4+zLzN9Ooehci5SmrfboX6/+lRlv32cGPtZEn5FnVf97/5wM= - file: alfred-switch-audio.alfredworkflow - on: - tags: true - all_branches: true diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..c51cc82 --- /dev/null +++ b/circle.yml @@ -0,0 +1,22 @@ +machine: + python: + version: 2.7.10 + environment: + GITHUB_USER: $CIRCLE_PROJECT_USERNAME + +dependencies: + override: + - go get github.com/github/hub + - hub version + pre: + - pip install git+https://github.com/uchida/yamlfred.git + +test: + override: + - yamlfred create "${CIRCLE_PROJECT_REPONAME}" + +deployment: + release: + tag: /[0-9]+\.[0-9]+\.[0-9]+/ + commands: + - hub release create -a "${CIRCLE_PROJECT_REPONAME}.alfredworkflow" -m "Release ${CIRCLE_TAG}" "${CIRCLE_TAG}"