From: Rob Golding Date: Thu, 20 Feb 2014 20:56:11 +0000 (+0000) Subject: Use ubuntu source files for various task warrior versions X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/f7aab4c64dafc17949e086bc4f05ffac93c9409c?ds=sidebyside;hp=--cc Use ubuntu source files for various task warrior versions --- f7aab4c64dafc17949e086bc4f05ffac93c9409c 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