6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 14:17:46 +00:00
tutor/.travis.yml
Régis Behmo 9d0f2d9178 Simplify CI
This comes after a big refactoring of our CI pipeline.
2020-10-02 14:17:29 +02:00

32 lines
764 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
- os: osx
language: generic
env:
jobs:
- PATH=/tmp/bin/:$PATH
script:
# In Mac OS python and pip binaries are v2, so we create symlinks
- mkdir /tmp/bin && ln -s $(which python3) /tmp/bin/python && ln -s $(which pip3) /tmp/bin/pip
- pip install --upgrade pip setuptools==44.0.0
- make ci-info
- make bootstrap-dev-plugins
- make test
- make bundle
- make ci-test-bundle
deploy:
# Create github release and push binary to github
- provider: script
script: make ci-push-bundle
skip_cleanup: true
on:
tags: true