Skip to content

Commit ba2973f

Browse files
committed
Remove tests from Mac build until I got mac for tests of scripts
1 parent c671263 commit ba2973f

File tree

5 files changed

+22
-10
lines changed

5 files changed

+22
-10
lines changed

.travis.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,7 @@ services:
1818
before_script:
1919
- .travis/$TRAVIS_OS_NAME/init.sh
2020
- dotnet restore
21-
- docker -v
22-
- docker-compose down
23-
- docker-compose up -d
24-
- pushd samples/docker-compose
25-
- docker-compose down
26-
- docker-compose up -d --build
27-
- popd
2821

2922
script:
3023
- dotnet build -f netcoreapp1.0 src/tarantool.client
31-
- dotnet test tests/tarantool.client.tests
32-
- curl -o /dev/null --fail http://localhost:5000
24+
- .travis/$TRAVIS_OS_NAME/test.sh

.travis/linux/init.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
#!/usr/bin/env bash
1+
#!/usr/bin/env bash
2+
3+
echo 'Linux init script'
4+
5+
docker -v
6+
docker-compose down
7+
docker-compose up -d
8+
pushd samples/docker-compose
9+
docker-compose down
10+
docker-compose up -d --build
11+
popd

.travis/linux/test.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
3+
echo 'Linux test script'
4+
5+
dotnet test tests/tarantool.client.tests
6+
curl -o /dev/null --fail http://localhost:5000

.travis/osx/init.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
22

3+
echo 'Mac init script'
34
brew tap caskroom/cask
45
brew cask install docker

.travis/osx/test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
3+
echo 'Mac test script'

0 commit comments

Comments
 (0)