summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authortezeb <tezeb+github@outoftheblue.pl>2017-03-02 16:14:19 +0100
committertezeb <tezeb+github@outoftheblue.pl>2017-03-10 20:27:07 +0100
commit00683f2c47458756e396279a0efb66b86bb0c7b3 (patch)
tree08e2e7d7b5cc3962a382b1e71afba0a83033dcc8 /.travis.yml
parent896d8fb9f4e81b13d574d44c30ddf7b3f2949795 (diff)
Codecov working
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 4 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index efe5aed9..cce4ac15 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,11 +30,12 @@ install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then npm install -g appdmg; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq update; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq install qt58base qt58tools qt58svg; fi
+- if [ "$TRAVIS_OS_NAME" = "linux" ]; then pip install --user codecov; fi
before_script:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then source /opt/qt58/bin/qt58-env.sh; fi
script:
- qmake -v
-- qmake -Wall qtpass.pro
+- qmake CONFIG+=debug -Wall qtpass.pro
- make -j$(nproc)
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then macdeployqt src/QtPass.app; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then sed 's/FAQ\.md/https:\/\/qtpass.org\/docs\/md_FAQ.html/' < README.md > README.faq; fi
@@ -43,13 +44,8 @@ script:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then pandoc --standalone --from=markdown_github --to=rtf --output=README.rtf README.clean; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then appdmg appdmg.json qtpass-$(grep ^VERSION qtpass.pri | cut -d " " -f 6).dmg; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export VERSION=$(grep ^VERSION qtpass.pri | cut -d " " -f 6); fi
-- export QT_QPA_PLATFORM=offscreen
-- cd tests
-- qmake
-- make
-- if [ "$TRAVIS_OS_NAME" != "osx" ]; then ./auto/util/tst_util; fi
-- if [ "$TRAVIS_OS_NAME" = "osx" ]; then ./auto/util/tst_util.app/Contents/MacOS/tst_util; fi
-- cd -
+- if [ "$TRAVIS_OS_NAME" = "osx" ]; then make -j$(nproc) check ; fi
+- if [ "$TRAVIS_OS_NAME" = "linux" ]; then make -j$(nproc) codecov TESTARGS="--platform offscreen"; fi
notifications:
irc:
channels: