mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-29 10:42:00 +00:00
Disabled python in travis.yml pending fix.
Change-Id: I6d2a9cc8b32c531d4a1e272ddf29974a0a1a2ee3
This commit is contained in:
56
.travis.yml
56
.travis.yml
@@ -4,39 +4,39 @@ env:
|
|||||||
- GCC_VERSION="4.9"
|
- GCC_VERSION="4.9"
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- language: python
|
#- language: python
|
||||||
python: "2.7"
|
# python: "2.7"
|
||||||
install:
|
# install:
|
||||||
- "pip install wheel twine"
|
# - "pip install wheel twine"
|
||||||
script:
|
# script:
|
||||||
- "cd python/"
|
# - "cd python/"
|
||||||
- 'VERSION="$TRAVIS_TAG" python setup.py sdist bdist_wheel'
|
# - 'VERSION="$TRAVIS_TAG" python setup.py sdist bdist_wheel'
|
||||||
- "cd ../"
|
# - "cd ../"
|
||||||
deploy:
|
# deploy:
|
||||||
# Checkpointed release builds.
|
# # Checkpointed release builds.
|
||||||
- provider: script
|
# - provider: script
|
||||||
script: .travis/deploy-python.sh
|
# script: .travis/deploy-python.sh
|
||||||
skip_cleanup: true
|
# skip_cleanup: true
|
||||||
on:
|
# on:
|
||||||
tags: true
|
# tags: true
|
||||||
# all_branches must be set with tags: true. See below post:
|
# # all_branches must be set with tags: true. See below post:
|
||||||
# https://stackoverflow.com/a/27775257/1076585
|
# # https://stackoverflow.com/a/27775257/1076585
|
||||||
all_branches: true
|
# all_branches: true
|
||||||
# Produce a new build for the cutting edge when master changes.
|
# # Produce a new build for the cutting edge when master changes.
|
||||||
- provider: script
|
# - provider: script
|
||||||
script: .travis/deploy-python.sh
|
# script: .travis/deploy-python.sh
|
||||||
skip_cleanup: true
|
# skip_cleanup: true
|
||||||
on:
|
# on:
|
||||||
branch: master
|
# branch: master
|
||||||
- language: cpp
|
- language: cpp
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
|
|
||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
#- clang
|
#- clang
|
||||||
|
|
||||||
env:
|
env:
|
||||||
matrix:
|
matrix:
|
||||||
- BUILD_TYPE=Debug BIICODE=false
|
- BUILD_TYPE=Debug BIICODE=false
|
||||||
@@ -44,7 +44,7 @@ matrix:
|
|||||||
# biicode .deb files no longer available.
|
# biicode .deb files no longer available.
|
||||||
# - BUILD_TYPE=Release BIICODE=true
|
# - BUILD_TYPE=Release BIICODE=true
|
||||||
# - BUILD_TYPE=Debug BIICODE=true
|
# - BUILD_TYPE=Debug BIICODE=true
|
||||||
|
|
||||||
before_install:
|
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 add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
|
||||||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq; 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 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 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
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo ln -s -v -f $(which gcc-$GCC_VERSION) /usr/bin/gcc; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- if [ "$BIICODE" == "false" ]; then cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE . && make && make test; fi
|
- 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
|
- if [ "$BIICODE" == "true" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then ./biicode/support/bii-travis.sh $BUILD_TYPE; fi
|
||||||
|
|||||||
Reference in New Issue
Block a user