before_script:
  - source /etc/profile
  - GIT_SSL_NO_VERIFY=true git submodule update --init --recursive

stages:
  - doc
  - test

doc:
  stage: doc
  script:
    - pyenv local 3.5.1
    - make install
    - make .deps/pytest .deps/hypothesis .deps/freeze .deps/testfixtures
    - make doc
    - rsync -av --delete doc/_build/html/ doc-sync@docs.adfinis-sygroup.ch:/var/www/html/public/pyaptly/

test26:
  stage: test
  script:
    - pyenv local 2.6.9
    - make webserver
    - make pytest-no-cov

test27:
  stage: test
  script:
    - pyenv local 2.7.11
    - make test-local

test3:
  stage: test
  script:
    - pyenv local 3.5.1
    - make test-local

before_script:
  - source /etc/profile
  - GIT_SSL_NO_VERIFY=true git submodule update --init --recursive

stages:
  - doc
  - test

doc:
  stage: doc
  script:
    - pyenv local 3.5.1
    - make install
    - make .deps/pytest .deps/hypothesis .deps/freeze .deps/testfixtures
    - make doc
    - rsync -av --delete doc/_build/html/ doc-sync@docs.adfinis-sygroup.ch:/var/www/html/public/pyaptly/

test27:
  stage: test
  script:
    - pyenv local 2.7.11
    - make test-local

test3:
  stage: test
  script:
    - pyenv local 3.5.1
    - make test-local

Remove test for python 2.6
Remove test for python 2.6
