File tree Expand file tree Collapse file tree 6 files changed +22
-26
lines changed
Expand file tree Collapse file tree 6 files changed +22
-26
lines changed Original file line number Diff line number Diff line change 1- language : cpp
2- sudo : true
1+ language : generic
2+ sudo : required
3+ dist : trusty
34addons :
45 apt :
6+ sources :
7+ - ubuntu-toolchain-r-test
58 packages :
69 - build-essential
10+ - gcc-5
11+ - g++-5
712 - cmake
813 - libopenal-dev
14+ - libsdl2-dev
915osx_image : xcode7.3
1016matrix :
1117 include :
1218 - os : linux
13- compiler : gcc
14- env : CONFIGURATION="Debug" wxWidgets_ver=2.8
19+ env : CONFIGURATION="Debug" wxWidgets_ver=2.8 CC=gcc-5 CXX=g++-5
1520 - os : linux
16- compiler : gcc
17- env : CONFIGURATION="Debug" wxWidgets_ver=3.0
21+ env : CONFIGURATION="Debug" wxWidgets_ver=3.0 CC=gcc-5 CXX=g++-5
1822
1923 - os : linux
20- compiler : clang
21- env : CONFIGURATION="Debug" wxWidgets_ver=2.8
24+ env : CONFIGURATION="Debug" wxWidgets_ver=2.8 CC=clang CXX=clang++
2225 - os : linux
23- compiler : clang
24- env : CONFIGURATION="Debug" wxWidgets_ver=3.0
26+ env : CONFIGURATION="Debug" wxWidgets_ver=3.0 CC=clang CXX=clang++
2527
2628 - os : osx
27- compiler : clang
2829 env : CONFIGURATION="Debug"
2930
3031 - os : linux
31- compiler : gcc
32- env : CONFIGURATION="Release" wxWidgets_ver=2.8
32+ env : CONFIGURATION="Release" wxWidgets_ver=2.8 CC=gcc-5 CXX=g++-5
3333 - os : linux
34- compiler : gcc
35- env : CONFIGURATION="Release" wxWidgets_ver=3.0
34+ env : CONFIGURATION="Release" wxWidgets_ver=3.0 CC=gcc-5 CXX=g++-5
3635
3736 - os : linux
38- compiler : clang
39- env : CONFIGURATION="Release" wxWidgets_ver=2.8
37+ env : CONFIGURATION="Release" wxWidgets_ver=2.8 CC=clang CXX=clang++
4038 - os : linux
41- compiler : clang
42- env : CONFIGURATION="Release" wxWidgets_ver=3.0
39+ env : CONFIGURATION="Release" wxWidgets_ver=3.0 CC=clang CXX=clang++
4340
4441 - os : osx
45- compiler : clang
4642 env : CONFIGURATION="Release"
4743before_install :
4844 - ./ci/travis/before_install.sh
Original file line number Diff line number Diff line change 33set -e
44
55if [ " $TRAVIS_OS_NAME " = " linux" ]; then
6- sudo add-apt-repository --yes ppa:zoogie/sdl2-snapshots
7- sudo apt-get update -qq
6+ # Nothing to do here
7+ :
88elif [ " $TRAVIS_OS_NAME " = " osx" ]; then
99 brew update
1010fi
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ CMAKE_BINS_TMP=/tmp/cmake.tar.gz
77
88if [ " $TRAVIS_OS_NAME " = " linux" ]
99then
10- sudo apt-get install -y ninja-build libsdl2-dev libwxgtk$wxWidgets_ver -dev
10+ sudo apt-get install -y libwxgtk$wxWidgets_ver -dev
1111
1212 if [ ! -x $HOME /cmake/bin/cmake ]
1313 then
Original file line number Diff line number Diff line change 55cd travis-build
66
77if [ " $TRAVIS_OS_NAME " = " linux" ]; then
8- make -j4
8+ make -j $( nproc )
99elif [ " $TRAVIS_OS_NAME " = " osx" ]; then
1010 set -o pipefail && cmake --build . --config " $CONFIGURATION " -- ARCHS=x86_64 ONLY_ACTIVE_ARCH=NO | xcpretty
1111fi
Original file line number Diff line number Diff line change @@ -716,7 +716,7 @@ FlagListManager::ProcessingStatus FlagListManager::ParseJsonData(const std::stri
716716
717717 openAlInfo.defaultCaptureDevice .name = jsonToWxString (openal_obj.at (" default_capture" ));
718718
719- openAlInfo.version = wxString::Format (" %d.%d" ,
719+ openAlInfo.version = wxString::Format (wxT ( " %d.%d" ) ,
720720 openal_obj.at (" version_major" ).get <int >(),
721721 openal_obj.at (" version_minor" ).get <int >());
722722 }
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ class FlagListManager: public wxEvtHandler {
128128
129129 const std::vector<Resolution>& GetResolutions () const ;
130130
131- wxFileName GetConfigLocation (const wxString& def_path = " " ) const ;
131+ wxFileName GetConfigLocation (const wxString& def_path = wxEmptyString ) const ;
132132
133133 const OpenAlInfo& GetOpenAlInfo () const ;
134134
You can’t perform that action at this time.
0 commit comments