.travis.yml 688 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 && 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. matrix:
  14. include:
  15. - os: linux
  16. dist: trusty
  17. env:
  18. - ISGX_DRIVER_PATH=$TRAVIS_BUILD_DIR/linux-sgx-driver
  19. - ISGX_DRIVER_VERSION=1.9