# We pretend to be C because we need GNU Octave which is not 
# available (as of December 2015)
language: c

env:
 global:
    - REPOPATH=`pwd`

# command to install dependencies
before_install:
  - pwd

  # Install octave with apt-get
  - sudo add-apt-repository -y ppa:octave/stable
  - sudo apt-get update -qq
  - sudo apt-get install octave

  # go up one level to retrieve MOxUnit
  - cd ..
  - git clone git://github.com/MOxUnit/MOxUnit.git
  - make -C MOxUnit install
  - cd ${REPOPATH}

script:
  - pwd
  - /usr/bin/octave -q --eval "OCTAVE_VERSION"
  - /usr/bin/octave -q --eval runAllTests

# We pretend to be C because we need GNU Octave which is not 
# available (as of December 2015)
language: c

cache:
  - apt

env:
 global:
    - REPOPATH=`pwd`

# command to install dependencies
before_install:
  - pwd

  # Install octave with apt-get
  - sudo add-apt-repository -y ppa:octave/stable
  - sudo apt-get update -qq
  - sudo apt-get install octave

  # go up one level to retrieve MOxUnit
  - cd ..
  - git clone git://github.com/MOxUnit/MOxUnit.git
  - make -C MOxUnit install
  - cd ${REPOPATH}

script:
  - pwd
  - /usr/bin/octave -q --eval "OCTAVE_VERSION"
  - /usr/bin/octave -q --eval runAllTests

Add caching of apt for Travis builds
Add caching of apt for Travis builds
