Skip to content

Commit

Permalink
Added Travis Support
Browse files Browse the repository at this point in the history
  • Loading branch information
LaTruelle committed Dec 17, 2015
1 parent be4f336 commit 8825eaa
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 1 deletion.
47 changes: 47 additions & 0 deletions .travis.yml
@@ -0,0 +1,47 @@
sudo: required
dist: trusty

language: cpp

os:
- linux
- osx

env:
- CONFIG=Release

install:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
sudo apt-add-repository -y ppa:beineri/opt-qt551-trusty
&& sudo apt-add-repository -y ppa:george-edison55/cmake-3.x
&& sudo apt-get -qq update
&& sudo apt-get -qq install build-essential qt55tools qt55base cmake
&& QTDIR="/opt/qt55"
&& PATH="$QTDIR/bin:$PATH"
&& qt55-env.sh
;
else
brew update
&& brew unlink cmake
&& brew install cmake
&& brew install qt5
&& brew linkapps qt5
&& brew link --force qt5
&& brew install python3
&& chmod -R 755 /usr/local/opt/qt5/*
;
fi

script:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
cmake -DCMAKE_BUILD_TYPE=$CONFIG -DCMAKE_PREFIX_PATH=/opt/qt55/lib/cmake -DPYTHON_LIBRARY=/opt/python/3.5.0/lib/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/opt/python/3.5.0/include/python3.5m .
;
else
cmake -DCMAKE_BUILD_TYPE=$CONFIG -DCMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake .
;
fi
&& make

after_failure:
- ls -l /opt/python/3.5.0/*
- ls -l /opt/python/3.5.0/include/*
Binary file modified pythonqt/pythonqt.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -9,7 +9,7 @@
>
> However, latest versions ([core 3.7.2](https://github.com/patacrep/patacrep/releases/tag/patacrep_3.7.2) and [gui 0.7.9](https://github.com/patacrep/patagui/releases/tag/0.7.9)) should still fully work. Enjoy!
[![Build status](https://ci.appveyor.com/api/projects/status/yydomf8riq5m3o7j?svg=true)](https://ci.appveyor.com/project/LaTruelle/patagui)
[![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/yydomf8riq5m3o7j?svg=true)](https://ci.appveyor.com/project/LaTruelle/patagui) [![Travis Build Status](https://travis-ci.org/LaTruelle/patagui.svg?branch=continuous-integration-travis)](https://travis-ci.org/LaTruelle/patagui)

# Description
This is a Qt5/C++/Python client that allows to pick up songs from the patacrep songbook database to build personalized songbooks.
Expand Down

0 comments on commit 8825eaa

Please sign in to comment.