test new build system
This commit is contained in:
parent
95870fc7a2
commit
628943ac15
13
.travis.yml
13
.travis.yml
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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*
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue