https://github.com/pupil-labs/pupil
Raw File
Tip revision: a1601cef952df9efed44de04a8f89e7fde553232 authored by Patrick Faion on 13 November 2019, 10:20:21 UTC
Let travis run pytest
Tip revision: a1601ce
.travis.yml
# Travis integration for running unittests on pupil-labs/pupil

# NOTE: Tests are currently only ran on Ubuntu 18.04
# There's a docker image pupillabs/pupil-docker-ubuntu:latest which contains all
# required dependencies for the test-suite to run.

os: minimal
services: docker

before_install:
  - docker pull pupillabs/pupil-docker-ubuntu:latest
  - chmod +x ./.travis/*.sh

script:
  - >
    docker run --rm
    -v `pwd`:/repo
    -w /repo
    pupillabs/pupil-docker-ubuntu:latest
    /bin/bash /repo/.travis/run_tests.sh
back to top