Add c++11 build to the Travis matrix.
diff --git a/travis.sh b/travis.sh
index 6d381e9..20fe3e3 100755
--- a/travis.sh
+++ b/travis.sh
@@ -9,6 +9,7 @@
       -Dgmock_build_samples=ON \
       -Dgtest_build_tests=ON \
       -Dgmock_build_tests=ON \
+      -DCMAKE_CXX_FLAGS=$CXX_FLAGS \
       ../../$GTEST_TARGET
 make
 make test