.travis.yml 731 B

123456789101112131415161718192021222324252627282930313233
  1. sudo: required
  2. cache:
  3. directories:
  4. - $HOME/.ccache
  5. notifications:
  6. slack:
  7. on_success: never
  8. on_failure : never
  9. matrix:
  10. include:
  11. - env: OS='centos:7'
  12. include:
  13. - language: python
  14. python: 3.6
  15. install:
  16. - pip install codecov
  17. script:
  18. - wget https://webank-ai-1251170195.cos.ap-guangzhou.myqcloud.com/standalone_fate_master_1.5.1.tar.gz
  19. - tar -xzf standalone_fate_master_1.5.1.tar.gz
  20. - cd standalone_fate_master_1.5.1
  21. - sed -i.bak "s/sh service.sh/bash service.sh/g" init.sh
  22. - bash init.sh init
  23. - ls -alh
  24. - source bin/init_env.sh
  25. - bash ./python/federatedml/test/run_test.sh
  26. after_success:
  27. - conda install -c conda-forge codecov --yes
  28. - cd ./python/federatedml/test && codecov