use bash explicitly
This commit is contained in:
parent
c2a501e195
commit
bb9c959935
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
2
test.sh
2
test.sh
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
if [[ $TRAVIS_OS_NAME == "osx" ]]; then
|
||||
|
|
Loading…
Reference in a new issue