From f7aab4c64dafc17949e086bc4f05ffac93c9409c Mon Sep 17 00:00:00 2001 From: Rob Golding Date: Thu, 20 Feb 2014 20:56:11 +0000 Subject: [PATCH 1/1] Use ubuntu source files for various task warrior versions --- .travis.yml | 15 ++++++++++++--- builddep.sh | 13 ------------- 2 files changed, 12 insertions(+), 16 deletions(-) delete mode 100755 builddep.sh diff --git a/.travis.yml b/.travis.yml index 89c3652..a1ad735 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,23 @@ language: python env: - - BUILD_FROM_SOURCE=true TASK_VERSION=2.3.0 - - TASK_VERSION=2.2.0 + - RELEASE=precise TASK_VERSION=2.0.0 + - RELEASE=quantal TASK_VERSION=2.1.1 + - RELEASE=raring TASK_VERSION=2.1.2 + - RELEASE=saucy TASK_VERSION=2.2.0 python: - "2.6" - "2.7" - "3.2" - "3.3" install: - - ./builddep.sh + - pip install -e . + - sudo apt-get install -qq build-essential cmake uuid-dev + - wget http://archive.ubuntu.com/ubuntu/pool/$RELEASE/t/task/task_$TASK_VERSION.orig.tar.gz + - tar -zxvf task_$TASK_VERSION.orig.tar.gz + - cd task-$TASK_VERSION + - cmake . + - make + - sudo make install - task --version before_script: - cd $TRAVIS_BUILD_DIR diff --git a/builddep.sh b/builddep.sh deleted file mode 100755 index c4c41fd..0000000 --- a/builddep.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -if [[ $BUILD_FROM_SOURCE ]]; then - sudo apt-get install -qq build-essential cmake uuid-dev - wget http://www.taskwarrior.org/download/task-$TASK_VERSION.tar.gz - tar -zxvf task-$TASK_VERSION.tar.gz - cd task-$TASK_VERSION - cmake . - make - sudo make install -else - sudo apt-get install task=$TASK_VERSION* -fi -- 2.39.5