language: bash
sudo: required
services:
  - docker

before_install:
  - docker build --tag=phanect/ossetup .


script:
  - docker run phanect/ossetup "curl https://raw.githubusercontent.com/phanect/ossetup/master/setup.sh | bash"

language: bash
sudo: required
services:
  - docker

before_install:
  - docker build --tag=phanect/ossetup .

script:
  - docker run phanect/ossetup /bin/bash -c "curl https://raw.githubusercontent.com/phanect/ossetup/master/setup.sh | bash"

Use /bin/bash -c to run commands
Use /bin/bash -c to run commands
