Skip to content

Commit 9ce92c7

Browse files
authored
Update .travis.yml
1 parent acc24e0 commit 9ce92c7

1 file changed

Lines changed: 9 additions & 30 deletions

File tree

.travis.yml

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,22 @@
11
language: csharp
2-
sudo: required
2+
sudo: false
33
dist: trusty
4-
addons:
5-
apt:
6-
packages:
7-
- gettext
8-
- libcurl4-openssl-dev
9-
- libicu-dev
10-
- libssl-dev
11-
- libunwind8
12-
- zlib1g
134
env:
145
global:
156
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
167
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
17-
- CLI_VERSION=1.0.0-preview2-003121
8+
mono: none
189
os:
1910
- linux
2011
- osx
12+
osx_image: xcode8.2
2113
branches:
2214
only:
2315
- master
24-
25-
# Make sure build dependencies are installed.
26-
before_install:
27-
- 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
28-
- export DOTNET_INSTALL_DIR="$PWD/.dotnetcli"
29-
- export PATH="$DOTNET_INSTALL_DIR:$PATH"
30-
31-
install:
32-
- 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"
33-
34-
#cache:
35-
# - apt
36-
# - directories:
37-
# - packages
38-
39-
# Run the build script
16+
- release
17+
- dev
18+
- /^(.*\/)?ci-.*$/
19+
before_install:
20+
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; 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
4021
script:
41-
- travis_retry dotnet restore --disable-parallel
42-
- dotnet build Algorithms
43-
- dotnet build AlgorithmsTest
22+
- ./build.sh

0 commit comments

Comments
 (0)