From 0b8335f872a9708b023386510ec52d20870753ad Mon Sep 17 00:00:00 2001 From: robo9k Date: Sun, 8 Jun 2014 19:24:14 +0200 Subject: [PATCH] Add GitHub releases to Travis CI config for issue #13 --- .travis.yml | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9021bce..b6e8385 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,30 @@ language: c + compiler: - gcc - clang + before_install: - sudo pip install cpp-coveralls + install: - - "sudo apt-get update -qq" - - "sudo apt-get install -qq python3 python3-dev" - - "sudo apt-get install -qq check" -script: "autoreconf --install && ./configure --enable-gcov PYTHON_VERSION=3.2 && make && make check" + - sudo apt-get update -qq + - sudo apt-get install -qq python3 python3-dev + - sudo apt-get install -qq check + +script: autoreconf --install && ./configure --enable-gcov PYTHON_VERSION=3.2 && make && make check + after_success: - coveralls --exclude tests --extension c + +before_deploy: make dist + +deploy: + provider: releases + api_key: + secure: Q/LypIhTkXiPp+NFtlDaKqc6tMUy7YnGs5sV24UEgI/8B/SUojexqGczdvEwpFep2DuXcJQ6bsbBkNYS5KBWSg67gsP5J/LkbjytMM/FWdFTV/zhlmUK+mMnKVHhlaC78JIg6vRxuKPMVYlcM2zcGcnRPQS8X3t+FdDkvw54zDM= + file: q3py-*.tar.gz + on: + repo: robo9k/q3py + branch: master + tags: true