Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
4a09912b
Commit
4a09912b
authored
9 years ago
by
Michael Lumish
Browse files
Options
Downloads
Plain Diff
Merge pull request #3998 from jcanizales/travis-for-ios
Travis for iOS
parents
6eeb6859
c0daf068
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+28
-38
28 additions, 38 deletions
.travis.yml
with
28 additions
and
38 deletions
.travis.yml
+
28
−
38
View file @
4a09912b
language
:
cpp
language
:
objective-c
before_install
:
osx_image
:
xcode7.1
-
sudo add-apt-repository ppa:yjwong/gflags -y
-
sudo add-apt-repository ppa:h-rayflood/llvm -y
-
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
-
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
-
echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
-
sudo apt-get update -qq
-
sudo apt-get install -qq libgtest-dev libgflags-dev python-virtualenv python-dev python3-dev clang-3.5
-
sudo pip install --upgrade virtualenv
-
sudo pip install cpp-coveralls mako simplejson
-
sudo apt-get install -qq mono-devel nunit
-
wget www.nuget.org/NuGet.exe -O nuget.exe
env
:
env
:
global
:
global
:
-
RUBY_VERSION=2.1
-
CONFIG=opt
-
COVERALLS_PARALLEL=true
-
TEST=objc
-
CPPFLAGS=-I/tmp/prebuilt/include
-
JOBS=1
-
NUGET="mono nuget.exe"
before_install
:
matrix
:
-
brew install gflags
-
CONFIG=opt TEST=sanity JOBS=1
# Pod install does this too, but we don't want the output.
-
CONFIG=gcov TEST=c JOBS=16
-
pod repo update --silent
-
CONFIG=gcov TEST=c++ JOBS=16
install
:
-
CONFIG=opt TEST=c JOBS=16
-
make grpc_objective_c_plugin
-
CONFIG=opt TEST=c++ JOBS=16
-
pushd src/objective-c/tests
-
CONFIG=opt TEST=node JOBS=16
# Needs to be verbose, or otherwise OpenSSL's prepare_command makes Travis
-
CONFIG=opt TEST=ruby JOBS=16
# time out:
-
CONFIG=opt TEST=python JOBS=1
-
pod install --verbose
-
CONFIG=opt TEST=csharp JOBS=16
-
popd
-
USE_GCC=4.4 CONFIG=opt TEST=build JOBS=16
before_script
:
script
:
-
make interop_server
-
rvm use $RUBY_VERSION
-
bins/$CONFIG/interop_server --port=5050 &
-
gem install bundler
-
bins/$CONFIG/interop_server --port=5051 --use_tls &
-
./tools/run_tests/prepare_travis.sh
xcode_workspace
:
src/objective-c/tests/Tests.xcworkspace
-
if [ ! -z "$USE_GCC" ] ; then export CC=gcc-$USE_GCC ; export CXX=g++-$USE_GCC ; fi
xcode_scheme
:
-
./tools/run_tests/run_tests.py -l $TEST -t -j $JOBS -c $CONFIG -s
4.0
-
RxLibraryUnitTests
after_success
:
-
InteropTestsLocalSSL
-
if [ "$CONFIG" = "gcov" ] ; then coveralls --exclude third_party --exclude gens --exclude test --exclude tools --exclude src/compiler -b. --gcov-options '\-p' ; fi
-
InteropTestsLocalCleartext
# TODO(jcanizales): Investigate why they time out:
# - InteropTestsRemote
xcode_sdk
:
iphonesimulator9.1
notifications
:
notifications
:
email
:
false
email
:
false
webhooks
:
-
https://coveralls.io/webhook?repo_token=54IxAHPjJNdQJzJAhPU0MFpCtg7KvcydQ
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment