Skip to content

Commit

Permalink
Merge 41ca396 into 89b1bd6
Browse files Browse the repository at this point in the history
  • Loading branch information
ugnelis committed Apr 17, 2018
2 parents 89b1bd6 + 41ca396 commit 95669b6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ language: cpp
os:
- linux

before_install:
- |
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
pip install --user cpp-coveralls
fi
install:
- |
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
Expand All @@ -17,12 +23,19 @@ install:
fi
script:
# Setup environment.
- |
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
QTDIR="/opt/qt56"
PATH="$QTDIR/bin:$PATH"
qt56-env.sh
fi
# Build.
- mkdir build && cd build
- cmake ..
- make
- CTEST_OUTPUT_ON_FAILURE=1 make test

after_success:
- coveralls -e test/ -e googletest/ -e CMakeFiles/ -E .+/moc_.* -E .+/qrc_.* -E .+/qxt.* -E .+/ui_.* > coveralls.log

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# instant-translator [![Build Status](https://travis-ci.org/ugnelis/instant-translator.svg?branch=master)](https://travis-ci.org/ugnelis/instant-translator)
# instant-translator [![Build Status](https://travis-ci.org/ugnelis/instant-translator.svg?branch=master)](https://travis-ci.org/ugnelis/instant-translator) [![Coverage Status](https://coveralls.io/repos/github/ugnelis/instant-translator/badge.svg?branch=master)](https://coveralls.io/github/ugnelis/instant-translator?branch=master)
Translate words and sentences instantly. Program uses various translator APIs.

## What Does the App Solve?
Expand Down

0 comments on commit 95669b6

Please sign in to comment.