summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2017-12-28 09:56:57 -0800
committerWouter van Oortmerssen <aardappel@gmail.com>2017-12-28 09:56:57 -0800
commitb24f2016a19a66403f3e15b5f480d9aa03a361b0 (patch)
tree98eb782431d91c7bb800836811dd06ba4350ad80 /.travis.yml
parent1d73b3b9fc359e0654f22a76c6644c1b88fdc944 (diff)
downloadflatbuffers-b24f2016a19a66403f3e15b5f480d9aa03a361b0.tar.gz
flatbuffers-b24f2016a19a66403f3e15b5f480d9aa03a361b0.tar.bz2
flatbuffers-b24f2016a19a66403f3e15b5f480d9aa03a361b0.zip
Disabled python in travis.yml pending fix.
Change-Id: I6d2a9cc8b32c531d4a1e272ddf29974a0a1a2ee3
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml56
1 files changed, 28 insertions, 28 deletions
diff --git a/.travis.yml b/.travis.yml
index c0bea40b..be3e22d3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,39 +4,39 @@ env:
- GCC_VERSION="4.9"
matrix:
include:
- - language: python
- python: "2.7"
- install:
- - "pip install wheel twine"
- script:
- - "cd python/"
- - 'VERSION="$TRAVIS_TAG" python setup.py sdist bdist_wheel'
- - "cd ../"
- deploy:
- # Checkpointed release builds.
- - provider: script
- script: .travis/deploy-python.sh
- skip_cleanup: true
- on:
- tags: true
- # all_branches must be set with tags: true. See below post:
- # https://stackoverflow.com/a/27775257/1076585
- all_branches: true
- # Produce a new build for the cutting edge when master changes.
- - provider: script
- script: .travis/deploy-python.sh
- skip_cleanup: true
- on:
- branch: master
+ #- language: python
+ # python: "2.7"
+ # install:
+ # - "pip install wheel twine"
+ # script:
+ # - "cd python/"
+ # - 'VERSION="$TRAVIS_TAG" python setup.py sdist bdist_wheel'
+ # - "cd ../"
+ # deploy:
+ # # Checkpointed release builds.
+ # - provider: script
+ # script: .travis/deploy-python.sh
+ # skip_cleanup: true
+ # on:
+ # tags: true
+ # # all_branches must be set with tags: true. See below post:
+ # # https://stackoverflow.com/a/27775257/1076585
+ # all_branches: true
+ # # Produce a new build for the cutting edge when master changes.
+ # - provider: script
+ # script: .travis/deploy-python.sh
+ # skip_cleanup: true
+ # on:
+ # branch: master
- language: cpp
os:
- linux
- osx
-
+
compiler:
- gcc
#- clang
-
+
env:
matrix:
- BUILD_TYPE=Debug BIICODE=false
@@ -44,7 +44,7 @@ matrix:
# biicode .deb files no longer available.
# - BUILD_TYPE=Release BIICODE=true
# - BUILD_TYPE=Debug BIICODE=true
-
+
before_install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq; fi
@@ -52,7 +52,7 @@ matrix:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -qq gcc-$GCC_VERSION; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo ln -s -v -f $(which g++-$GCC_VERSION) /usr/bin/g++; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo ln -s -v -f $(which gcc-$GCC_VERSION) /usr/bin/gcc; fi
-
+
script:
- if [ "$BIICODE" == "false" ]; then cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE . && make && make test; fi
- if [ "$BIICODE" == "true" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then ./biicode/support/bii-travis.sh $BUILD_TYPE; fi