.travis.yml 826 B

123456789101112131415161718192021222324252627
  1. dist: trusty
  2. language: go
  3. go:
  4. - 1.8
  5. - 1.9
  6. go_import_path: gopkg.in/src-d/hercules.v2
  7. before_install:
  8. - wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py --user && rm get-pip.py
  9. - export PATH=$PATH:~/.local/bin
  10. - pip3 install --user -r requirements.txt
  11. - pip3 install --user tensorflow
  12. script:
  13. - go test -v -cpu=1,2 -coverprofile=coverage.txt -covermode=count gopkg.in/src-d/hercules.v2
  14. - $GOPATH/bin/hercules -files -people -couples https://github.com/src-d/hercules | python3 labours.py -m all -o out --backend Agg --disable-projector
  15. - $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
  16. after_success:
  17. - bash <(curl -s https://codecov.io/bash)
  18. notifications:
  19. email: false