Skip to content

Commit ce8ee60

Browse files
committed
Tests ci-build with c++0x flag
1 parent 8f8d6be commit ce8ee60

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.travis.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,8 @@ perl:
1010
- "5.12"
1111

1212
before_install:
13-
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
14-
- sudo apt-get update -qq
15-
- sudo apt-get install -qq g++-4.8
16-
- sudo rm /usr/bin/gcc
17-
- sudo rm /usr/bin/g++
18-
- sudo rm /usr/bin/gcov
19-
- sudo ln -s /usr/bin/gcc-4.8 /usr/bin/gcc
20-
- sudo ln -s /usr/bin/g++-4.8 /usr/bin/g++
21-
- sudo ln -s /usr/bin/gcov-4.8 /usr/bin/gcov
2213
- git submodule update --init --recursive
14+
- cpanm File::Slurp
2315
- cpanm Devel::Cover
2416
- cpanm -n Devel::Cover::Report::Coveralls
2517
install:

Build.PL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ my %config = (
107107
extra_compiler_flags => '-Wno-parentheses -Wno-tautological-compare -Wno-unused-value' .
108108
($cover ? ' -O0 -fprofile-arcs -ftest-coverage' : ''),
109109
) : (),
110-
extra_cpp_compiler_flags => [ '-std=c++11' ],
110+
extra_cpp_compiler_flags => [ '-std=c++0x' ],
111111
extra_linker_flags => ($cover ? '-lgcov -fprofile-arcs -ftest-coverage' : ''),
112112
c_source => { 'libsass' => [ qw(
113113
sass2scss.cpp node.cpp sass_util.cpp remove_placeholders.cpp

0 commit comments

Comments
 (0)