language: python
python:
  - "3.5"

sudo: false

install:
  - pip install pexpect
  - ./get-conda.sh
  - export PATH="$PATH:$HOME/conda/bin"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  - conda info -a

script:
  - echo -n "travis_fold:start:binutils-lm32-elf\r"
  # binutils-lm32-elf
  - python ./.travis-output.py output.log.binutils conda build binutils-lm32-elf
  - conda install binutils-lm32-elf --use-local
  - echo -n "travis_fold:end:binutils-lm32-elf\r"
  # gcc-lm32-elf
  - echo -n "travis_fold:start:gcc-lm32-elf\r"
  - python ./.travis-output.py output.log.gcc conda build gcc-lm32-elf
  - conda install gcc-lm32-elf --use-local
  - echo -n "travis_fold:end:gcc-lm32-elf\r"
  # sdcc
  - echo -n "travis_fold:start:sdcc\r"
  - python ./.travis-output.py output.log.sdcc conda build sdcc
  - conda install sdcc --use-local
  - echo -n "travis_fold:end:sdcc\r"
  # sdcc
  - echo -n "travis_fold:start:sdcc\r"
  - python ./.travis-output.py output.log.sdcc conda build sdcc
  - conda install sdcc --use-local
  - echo -n "travis_fold:end:sdcc\r"
  # openocd
  - echo -n "travis_fold:start:openocd\r"
  - python ./.travis-output.py output.log.openocd conda build openocd
  - conda install openocd --use-local
  - echo -n "travis_fold:end:openocd\r"

after_failure:
  - cat output.log.*

language: python
python:
  - "3.5"

sudo: false

install:
  - pip install pexpect
  - ./get-conda.sh
  - export PATH="$PATH:$HOME/conda/bin"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  - conda info -a

env:
  - PACKAGE=binutils-lm32-elf
  - PACKAGE=gcc-lm32-elf
  - PACKAGE=sdcc
  - PACKAGE=openocd

script:
  - python ./.travis-output.py output.log conda build $PACKAGE
  - conda install $PACKAGE --use-local

after_failure:
  - cat output.log

Split each package into own build.
Split each package into own build.
