6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-09-28 20:29:02 +00:00
tutor/.travis.yml
Régis Behmo e1f9637780 Upgrade Travis CI dist from Trusty to Xenial
Trusty is unsupported since April 2019. Also, out of the box Trusty
ships with Python 3.4, which means that we cannot replicate the CI in a
docker container. Finally, the binaries produced in Trusty are more than
twice the size of those produced in later releases.

After testing this change, unfortunately the binary size remains too
big.

See
https://discuss.overhang.io/t/size-of-tutor-16mb-built-on-my-machine-is-less-than-the-official-tutor-binary-37mb/714
2020-07-01 09:32:08 +02:00

26 lines
513 B
YAML

language: python
matrix:
include:
- os: linux
# We need an older version of python in order to have compatibility with
# older versions of libc
dist: xenial
python: 3.6
services:
- docker
- os: osx
language: generic
script:
- make ci-info
- make ci-install-plugins
- make test
- make ci-bundle
deploy:
# Create github release and push binary to github
- provider: script
script: make ci-github
skip_cleanup: true
on:
tags: true