language: dlang
install:
 - sudo wget http://netcologne.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
 - sudo apt-get update
 - sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring 
 - sudo apt-get update
 - sudo apt-get install dub
 - sudo apt-get install dmd-bin
 - sudo dub install x11
 - sudo dub add-local . ~master
 - sudo bash ./setup-ubuntu.sh
 - cd ../
 - sudo git clone https://github.com/Circular-Studios/Sample-Dash-Game.git
 - cd Sample-Dash-Game/
 - git branch -r | grep -q $TRAVIS_BRANCH && sudo git checkout $TRAVIS_BRANCH || (exit 0)
script: sudo dub test --force

# For pushing results to gitter.im
notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/84c64564ba5f757a2733
    on_success: change  # options: [always|never|change] default: always
    on_failure: always  # options: [always|never|change] default: always
    on_start: false     # default: false

language: dlang
install:
 - sudo wget http://netcologne.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
 - sudo apt-get update
 - sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring 
 - sudo apt-get update
 - sudo apt-get install dub
 - sudo apt-get install dmd-bin
 - sudo dub install x11
 - sudo dub add-local . ~master
 - sudo bash ./setup-ubuntu.sh
 - cd ../
 - sudo git clone https://github.com/Circular-Studios/Sample-Dash-Game.git
 - cd Sample-Dash-Game/
 - git branch -r | grep -q $TRAVIS_BRANCH && sudo git checkout $TRAVIS_BRANCH || (exit 0)
 - sudo cp libawesomium-1.6.5.so /usr/lib/libawesomium-1.6.5.so.0
script: sudo dub test --force

# For pushing results to gitter.im
notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/84c64564ba5f757a2733
    on_success: change  # options: [always|never|change] default: always
    on_failure: always  # options: [always|never|change] default: always
    on_start: false     # default: false

Copy awesomium lib to /usr/lib.
Copy awesomium lib to /usr/lib.
