forked from progaudi/progaudi.tarantool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (24 loc) · 1.04 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
matrix:
include:
- os: linux # Ubuntu 14.04
dist: trusty
sudo: required
- os: osx
osx_image: xcode9.2
env: TARANTOOL_VERSION= TEST_FILTER='--filter "Tarantool!=1.8"'
- os: osx
osx_image: xcode9.2
env: TARANTOOL_VERSION=--HEAD TEST_FILTER='--filter "Tarantool=1.8"'
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo ./scripts/ubuntu-prereqs.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./scripts/mac-prereqs.sh ; fi
install:
- ./scripts/dotnet-install.sh
- PATH=$PATH:$HOME/.dotnet && export PATH
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then docker-compose -f docker-compose.yml up -d ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then (cd tarantool && tarantool tarantool.lua && cd ..) ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then redis-server --daemonize yes ; fi
script:
- ./scripts/build-netcore.sh
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then ./scripts/linux-test-netcore.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./scripts/mac-test-netcore.sh ; fi