crigroup / openrave-installation

Bash scripts to install OpenRAVE from source
164 stars 77 forks source link

Use docker in travis to test building for multiple Ubuntu versions #7

Open fsuarez6 opened 5 years ago

fsuarez6 commented 5 years ago

Using docker in travis we could make sure that this compiles for the supported Ubuntu versions:

nicholasadr commented 3 years ago

I'm learning to implement CI and came across this. What is the advantage of using docker for this repo? Wouldn't something simple like the following do the job?

sudo: true
language:
  - generic
cache:
  - apt

jobs:
  include:
    - stage: OpenSceneGraph Trusty
      os: linux
      dist: trusty
      script: ./install-dependencies.sh; ./install-osg.sh
    - stage: OpenRAVE Trusty
      os: linux
      dist: trusty
      script: ./install-dependencies.sh; ./install-fcl.sh; ./install-openrave.sh
    - stage: OpenSceneGraph Xenial
      os: linux
      dist: xenial
      script: ./install-dependencies.sh; ./install-osg.sh
    - stage: OpenRAVE Xenial
      os: linux
      dist: xenial
      script: ./install-dependencies.sh; ./install-fcl.sh; ./install-openrave.sh
    - stage: OpenSceneGraph Bionic
      os: linux
      dist: bionic
      script: ./install-dependencies.sh; ./install-osg.sh
    - stage: OpenRAVE Bionic
      os: linux
      dist: bionic
      script: ./install-dependencies.sh; ./install-fcl.sh; ./install-openrave.sh