-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
24 lines (24 loc) · 738 Bytes
/
.travis.yml
File metadata and controls
24 lines (24 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: cpp
os:
- osx
compiler:
- clang
before_install:
- brew update
install:
- brew install qt5
before_script:
- export QMAKESPEC=macx-clang
- mkdir -p "$TRAVIS_BUILD_DIR-build"
- pushd "$TRAVIS_BUILD_DIR-build"
- QMAKE=`find /usr/local -name "qmake" | head -n 1`
- DEPLOY=`find /usr/local -name "macdeployqt" | head -n 1`
- $QMAKE -v
- echo "compile release version only"
- $QMAKE -r -Wall -Wlogic -Wparser CONFIG+=release "$TRAVIS_BUILD_DIR"
- popd
script:
- make -C "$TRAVIS_BUILD_DIR-build" -j2 all
- pushd "$TRAVIS_BUILD_DIR-build"
- cp -f -R "$TRAVIS_BUILD_DIR/configs/" "$TRAVIS_BUILD_DIR-build/MALTA.app/Contents/MacOS/configs"
- cp -f -R "$TRAVIS_BUILD_DIR/Info.plist" "$TRAVIS_BUILD_DIR-build/MALTA.app/Contents/Info.plist"