Skip to content

Commit 5b8afc8

Browse files
committed
Simplify Travis install phase.
1 parent c9aff7a commit 5b8afc8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ before_install:
1414
- env | sort
1515

1616
# Make sure CMake and Mono are installed
17-
install:
18-
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./CI/travis.linux.install.deps.sh; fi
19-
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ./CI/travis.osx.install.deps.sh; fi
17+
install: ./CI/travis.${TRAVIS_OS_NAME}.install.deps.sh
2018

2119
# Build libgit2, LibGit2Sharp and run the tests
2220
script:

0 commit comments

Comments
 (0)