Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
2176fd99
Commit
2176fd99
authored
Apr 01, 2016
by
Jesse Beder
Browse files
Add osx to travis config.
parent
0535811c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
.travis.yml
.travis.yml
+12
-4
No files found.
.travis.yml
View file @
2176fd99
language
:
c++
language
:
c++
os
:
-
linux
-
osx
compiler
:
compiler
:
-
clang
-
clang
-
gcc
-
gcc
before_install
:
before_install
:
-
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
-
|
-
sudo apt-get update -qq
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
-
if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.7; fi
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
-
if [ "$CXX" = "g++" ]; then export CXX="g++-4.7" CC="gcc-4.7"; fi
&& sudo apt-get update -qq
if [ "$CXX" = "g++" ]; then
sudo apt-get install -qq g++-4.7
&& export CXX="g++-4.7" CC="gcc-4.7"
fi
fi
before_script
:
before_script
:
-
mkdir build
-
mkdir build
-
cd build
-
cd build
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment