Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
CAP
Commits
5929e225
Commit
5929e225
authored
Oct 14, 2017
by
Savorboard
Committed by
GitHub
Oct 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .travis.yml
parent
8c8f3767
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
17 deletions
+43
-17
.travis.yml
.travis.yml
+43
-17
No files found.
.travis.yml
View file @
5929e225
language
:
csharp
#language: csharp
language
:
cpp
sudo
:
required
dist
:
trusty
matrix
:
os
:
include
:
-
linux
-
os
:
linux
-
osx
dist
:
trusty
# Ubuntu 14.04
dotnet
:
2.0.0
sudo
:
required
-
os
:
osx
osx_image
:
xcode8.3
# macOS 10.12
dotnet
:
2.0.0
env
:
global
:
-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE
:
true
-
DOTNET_CLI_TELEMETRY_OPTOUT
:
1
-
CLI_VERSION=2.0.0
addons
:
apt
:
packages
:
-
gettext
-
libcurl4-openssl-dev
-
libicu-dev
-
libssl-dev
-
libunwind8
-
zlib1g
# Make sure build dependencies are installed.
before_install
:
before_install
:
-
chmod a+x ./build.sh
-
if test "$TRAVIS_OS_NAME" == "osx"; then ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi
-
if [ "$TRAVIS_OS_NAME" == "osx" ]; then ulimit -n 1024 ; fi
# - curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
# - sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
# - sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
# - sudo apt-get update
# - sudo apt-get install -y dotnet-sdk-2.0.0 dotnet-sharedframework-microsoft.netcore.app-1.1.2
-
export DOTNET_INSTALL_DIR="$PWD/.dotnetcli"
-
export PATH="$DOTNET_INSTALL_DIR:$PATH"
install
:
-
travis_retry curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh | bash /dev/stdin --version "$CLI_VERSION" --install-dir "$DOTNET_INSTALL_DIR"
#install:
#cache:
# - export DOTNET_CLI_TELEMETRY_OPTOUT=1
# - apt
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rvm get stable; brew update; brew install openssl; fi
# - directories:
# - packages
# Run the build script
script
:
script
:
-
./build.sh
-
travis_retry dotnet restore --disable-parallel
-
dotnet test test\DotNetCore.CAP.Test -verbose
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment