|
|
@@ -34,6 +34,15 @@ matrix:
|
|
|
- os: osx
|
|
|
compiler: gcc
|
|
|
|
|
|
+# Handle git submodules yourself
|
|
|
+git:
|
|
|
+ submodules: false
|
|
|
+
|
|
|
+# Use sed to replace the SSH URL with the public URL, then initialize submodules
|
|
|
+before_install:
|
|
|
+ - sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
|
|
|
+ - git submodule update --init --recursive
|
|
|
+
|
|
|
install:
|
|
|
# MOJI check; exit 1 if non-ascii characters detected in C++
|
|
|
- if [[ -n "$USE_MOJI_CHECK" && -n `git grep -P "[^[:ascii:]]" source test` ]]; then echo "Moji Detected" && exit 1 ;fi
|