]> git.madduck.net Git - etc/taskwarrior.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Attempt to test with taskwarrior 2.2.0 as well as 2.3.0
authorRob Golding <rob@robgolding.com>
Tue, 18 Feb 2014 21:42:29 +0000 (21:42 +0000)
committerRob Golding <rob@robgolding.com>
Tue, 18 Feb 2014 21:42:29 +0000 (21:42 +0000)
.travis.yml
builddep.sh [new file with mode: 0755]

index e8455dd3e92628f8b3a0b89c27667c9d06faee05..ba89600374166111768edfa10b20a6e0f19ac21f 100644 (file)
@@ -1,20 +1,14 @@
 language: python
 env:
-  - TASK_VERSION=2.3.0
+  - BUILD_FROM_SOURCE=true TASK_VERSION=2.3.0
+  - TASK_VERSION=2.2.0-3
 python:
   - "2.6"
   - "2.7"
   - "3.2"
   - "3.3"
 install:
-  - pip install -e .
-  - 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
+  - ./builddep.sh
   - task --version
 before_script:
   - cd $TRAVIS_BUILD_DIR
diff --git a/builddep.sh b/builddep.sh
new file mode 100755 (executable)
index 0000000..26e3a3d
--- /dev/null
@@ -0,0 +1,13 @@
+#!/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