.travis.yml 887 B

123456789101112131415161718192021222324252627
  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 && make clean && make DEBUG=1
  11. - cd $TRAVIS_BUILD_DIR/Pal/src && make clean && make SGX=1 DEBUG=1
  12. - cd $TRAVIS_BUILD_DIR/Pal/src/host/Linux-SGX/sgx-driver && make
  13. - cd $TRAVIS_BUILD_DIR/Pal/regression && make regression
  14. - cd $TRAVIS_BUILD_DIR/LibOS/shim/test/regression && make regression
  15. - cd $TRAVIS_BUILD_DIR/LibOS/shim/test/apps/ltp && make regression
  16. matrix:
  17. include:
  18. - os: linux
  19. dist: trusty
  20. env:
  21. - ISGX_DRIVER_PATH=$TRAVIS_BUILD_DIR/linux-sgx-driver
  22. - ISGX_DRIVER_VERSION=1.9