2017-02-20 21:17:55 +01:00
|
|
|
language: bash
|
|
|
|
|
|
|
|
|
|
sudo: required
|
|
|
|
|
|
|
|
|
|
branches:
|
|
|
|
|
only:
|
|
|
|
|
- master
|
|
|
|
|
- develop
|
|
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
|
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty universe"
|
|
|
|
|
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty main"
|
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
|
- sudo apt-get install -qq wget python2.7
|
2017-02-23 11:27:44 +01:00
|
|
|
|
2017-02-21 23:06:31 +01:00
|
|
|
- wget https://raw.githubusercontent.com/Schrolli91/BOSWatch/${TRAVIS_BRANCH}/install.sh
|
2017-02-20 21:17:55 +01:00
|
|
|
- chmod +x install.sh
|
|
|
|
|
- cat /etc/os-release
|
|
|
|
|
- echo ${TRAVIS_BRANCH}
|
2017-02-21 13:26:16 +01:00
|
|
|
- sudo ./install.sh -b ${TRAVIS_BRANCH}
|
2017-02-20 21:17:55 +01:00
|
|
|
|
|
|
|
|
env:
|
2017-02-22 15:25:02 +01:00
|
|
|
- module=base
|
2017-02-20 21:17:55 +01:00
|
|
|
- module=mysql
|
|
|
|
|
- module=httpRequest
|
|
|
|
|
|
|
|
|
|
script:
|
|
|
|
|
- sudo /bin/bash citest/test.sh
|