test new build system

This commit is contained in:
DavidBadura 2015-08-01 21:43:41 +00:00
parent 95870fc7a2
commit 628943ac15
4 changed files with 16 additions and 11 deletions

View File

@ -26,18 +26,9 @@ before_install:
- composer self-update - composer self-update
install: install:
- wget http://taskwarrior.org/download/task-$TASKWARRIOR.tar.gz - ln -s build/taskwarrior-$TASKWARRIOR task
- gunzip task-$TASKWARRIOR.tar.gz
- tar xf task-$TASKWARRIOR.tar
- cd task-$TASKWARRIOR
- sudo apt-get install cmake build-essential uuid-dev libgnutls-dev libreadline6-dev --force-yes
- sudo cmake -DCMAKE_BUILD_TYPE=release .
- sudo make
- sudo make install
- sudo ln -s /usr/local/bin/task /usr/bin/task
- task --version - task --version
- cd ..
before_script: before_script:
- composer update --prefer-source $PREFER_LOWEST - composer update $PREFER_LOWEST

14
build/build.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
TASKWARRIOR=$1
wget http://taskwarrior.org/download/task-$TASKWARRIOR.tar.gz
gunzip task-$TASKWARRIOR.tar.gz
tar xf task-$TASKWARRIOR.tar
cd task-$TASKWARRIOR
sudo apt-get install cmake build-essential uuid-dev libgnutls-dev libreadline6-dev --force-yes
sudo cmake -DCMAKE_BUILD_TYPE=release .
sudo make
cd ..
cp task-$TASKWARRIOR/src/task ./taskwarrior-$TASKWARRIOR
sudo rm -Rf task-$TASKWARRIOR*

BIN
build/taskwarrior-2.4.3 Executable file

Binary file not shown.

BIN
build/taskwarrior-2.4.4 Executable file

Binary file not shown.