dist: trusty language: go go: - 1.8 - 1.9 go_import_path: gopkg.in/src-d/hercules.v2 before_install: - wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py --user && rm get-pip.py - export PATH=$PATH:~/.local/bin - pip3 install --user -r requirements.txt - pip3 install --user tensorflow script: - go test -v -cpu=1,2 -coverprofile=coverage.txt -covermode=count gopkg.in/src-d/hercules.v2 - $GOPATH/bin/hercules -files -people -couples https://github.com/src-d/hercules | python3 labours.py -m all -o out --backend Agg --disable-projector - $GOPATH/bin/hercules -files -people -couples -pb https://github.com/src-d/hercules | python3 labours.py -f pb -m all -o out --backend Agg --disable-projector after_success: - bash <(curl -s https://codecov.io/bash) notifications: email: false