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:
- pwd
- ls
- $CI_PROJECT_DIR/test.sh
- bash -c $CI_PROJECT_DIR/test.sh
image: docker:stable
services:
- docker:dind
@ -16,7 +16,7 @@ ubuntu:
script:
- pwd
- ls
- $CI_PROJECT_DIR/test.sh
- bash -c $CI_PROJECT_DIR/test.sh
image: docker:stable
services:
- docker:dind

View file

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