.travis.yml 753 B

123456789101112131415161718192021222324
  1. language: c
  2. before_install:
  3. - sudo apt-get install python-protobuf python-crypto
  4. - sudo apt-get install linux-headers-$(uname -r)
  5. before_script:
  6. - git clone https://github.com/01org/linux-sgx-driver.git -b sgx_driver_$ISGX_DRIVER_VERSION
  7. script:
  8. - make
  9. - cd $TRAVIS_BUILD_DIR/Pal/src && make clean && make SGX=1
  10. - cd $TRAVIS_BUILD_DIR/Pal/src/host/Linux-SGX/sgx-driver && make
  11. - cd $TRAVIS_BUILD_DIR/Pal/regression && make regression
  12. - cd $TRAVIS_BUILD_DIR/LibOS/shim/test/regression && make regression
  13. - cd $TRAVIS_BUILD_DIR/LibOS/shim/test/apps/ltp && make regression
  14. matrix:
  15. include:
  16. - os: linux
  17. dist: trusty
  18. env:
  19. - ISGX_DRIVER_PATH=$TRAVIS_BUILD_DIR/linux-sgx-driver
  20. - ISGX_DRIVER_VERSION=1.9