branches:
  except:
    - gh-pages
sudo: false
language: perl6
perl6: 2016.07
before_install:
  - curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
  - export PATH="$HOME/.pyenv/bin:$PATH"
  - eval "$(pyenv init -)"
  - eval "$(pyenv virtualenv-init - >/dev/null)"
  - PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 2.7.12
  - pyenv global 2.7.12
  - pyenv rehash
  - git clone https://github.com/ugexe/zef.git $HOME/zef
install:
  - perl6 -I $HOME/zef/lib $HOME/zef/bin/zef --deps-only install .
  - perl6 configure.pl6
  - make

branches:
  except:
    - gh-pages
sudo: false
language: perl6
perl6: latest
before_install:
  - curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
  - export PATH="$HOME/.pyenv/bin:$PATH"
  - eval "$(pyenv init -)"
  - eval "$(pyenv virtualenv-init - >/dev/null)"
  - PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 2.7.12
  - pyenv global 2.7.12
  - pyenv rehash
  - git clone https://github.com/ugexe/zef.git $HOME/zef
install:
  - perl6 -I $HOME/zef/lib $HOME/zef/bin/zef --deps-only install .
  - perl6 configure.pl6
  - make

Use more modern perl6 version
Use more modern perl6 version