use bash explicitly

This commit is contained in:
Cyryl Płotnicki 2019-01-20 12:49:55 +00:00
parent c2a501e195
commit bb9c959935
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ fedora:
script: script:
- pwd - pwd
- ls - ls
- $CI_PROJECT_DIR/test.sh - bash -c $CI_PROJECT_DIR/test.sh
image: docker:stable image: docker:stable
services: services:
- docker:dind - docker:dind
@ -16,7 +16,7 @@ ubuntu:
script: script:
- pwd - pwd
- ls - ls
- $CI_PROJECT_DIR/test.sh - bash -c $CI_PROJECT_DIR/test.sh
image: docker:stable image: docker:stable
services: services:
- docker:dind - docker:dind

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
if [[ $TRAVIS_OS_NAME == "osx" ]]; then if [[ $TRAVIS_OS_NAME == "osx" ]]; then