language: julia
julia:
  - 0.6
  - nightly
sudo: required
dist: trusty
before_install:
  - sudo apt-add-repository -y "deb http://packages.ros.org/ros/ubuntu trusty main"
  - wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O - | sudo apt-key add -
  - sudo apt-get update
  - sudo apt-get -y install ros-indigo-ros-base ros-indigo-common-msgs
  - sudo rosdep init
  - rosdep update
before_script:
  - export PATH=/usr/bin:$PATH
  - source /opt/ros/indigo/setup.sh
  - roscore &
  - sleep 5
  - python test/echonode.py &
  - sleep 5
after_success:
  - julia -e 'cd(Pkg.dir("RobotOS")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
  - julia -e 'Pkg.add("Documenter");'
  - julia -e 'cd(Pkg.dir("RobotOS")); ENV["DOCUMENTER_DEBUG"]="true"; include(joinpath("docs", "make.jl"))'
after_script:
  - killall roscore
  - killall python
  - sleep 5

language: julia
julia:
  - 0.7
  - nightly
sudo: required
dist: trusty
before_install:
  - sudo apt-add-repository -y "deb http://packages.ros.org/ros/ubuntu trusty main"
  - wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O - | sudo apt-key add -
  - sudo apt-get update
  - sudo apt-get -y install ros-indigo-ros-base ros-indigo-common-msgs
  - sudo rosdep init
  - rosdep update
before_script:
  - export PATH=/usr/bin:$PATH
  - source /opt/ros/indigo/setup.sh
  - roscore &
  - sleep 5
  - python test/echonode.py &
  - sleep 5
after_success:
  - julia -e 'cd(Pkg.dir("RobotOS")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
  - julia -e 'Pkg.add("Documenter");'
  - julia -e 'cd(Pkg.dir("RobotOS")); ENV["DOCUMENTER_DEBUG"]="true"; include(joinpath("docs", "make.jl"))'
after_script:
  - killall roscore
  - killall python
  - sleep 5

Drop Travis testing for 0.6
Drop Travis testing for 0.6
