language: julia
os:
    - osx
    - linux
sudo: required
dist: trusty
julia:
    - release
    - nightly
notifications:
    email: false
before_install:
    - if [ `uname` = "Linux" ]; then
        sudo apt-get update -qq -y;
        sudo apt-get install -y libcairo2 libfontconfig1 libpango1.0-0 libpng12-0 libpixman-1-0 gettext;
      fi
script:
    - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
    - julia -e 'Pkg.clone(pwd()); Pkg.build("Compose"); Pkg.test("Compose"; coverage=true)'
    - julia -e 'cd(Pkg.dir("Compose")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

language: julia
os:
    - osx
    - linux
sudo: required
dist: trusty
julia:
    - release
    - nightly
notifications:
    email: false
before_install:
    - if [ `uname` = "Linux" ]; then
        sudo apt-get update -qq -y;
        sudo apt-get install -y libcairo2 libfontconfig1 libpango1.0-0 libpng12-0 libpng12-dev libpixman-1-0 gettext;
      fi
script:
    - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
    - julia -e 'Pkg.clone(pwd()); Pkg.build("Compose"); Pkg.test("Compose"; coverage=true)'
    - julia -e 'cd(Pkg.dir("Compose")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

Add libpng12-dev to prevent Travis from hanging
Add libpng12-dev to prevent Travis from hanging
