Index: .travis.yml |
diff --git a/.travis.yml b/.travis.yml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..02a5cdbd7f1da37c28985c43e2f7608b7a5fb054 |
--- /dev/null |
+++ b/.travis.yml |
@@ -0,0 +1,33 @@ |
+sudo: required |
+ |
+services: |
+ - docker |
+ |
+language: cpp |
+ |
+os: |
+- linux |
+- osx |
+ |
+dist: trusty |
+ |
+python: '2.7' |
+ |
+env: |
+ matrix: |
+ - BUILDTYPE=release |
+ - BUILDTYPE=debug |
+ |
+install: |
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3; fi |
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH=/usr/local/opt/python/libexec/bin:${PATH}; fi |
sergei
2018/03/01 10:56:00
It turned out that meanwhile the configuration sto
|
+ - if [[ "$TRAVIS_OS_NAME" != "linux" ]]; then bash .travis/travis-install.sh; fi |
+ |
+before_script: |
+ - if [[ "$TRAVIS_OS_NAME" != "linux" ]]; then bash .travis/travis-before_script.sh; fi |
+ |
+script: |
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then bash .travis/prepare-docker.sh; else bash .travis/travis-script.sh; fi |
+ |
+notifications: |
+ email: false |