Teddy Reed | c4335c7 | 2016-01-13 17:53:59 -0800 | [diff] [blame] | 1 | language: cpp |
| 2 | compiler: |
| 3 | - gcc |
| 4 | |
| 5 | # This is a lie: we don't need sudo but this is required to get an |
| 6 | # Ubuntu image with a libc that isn't ancient, and with cmocka libs. |
| 7 | sudo: required |
| 8 | dist: trusty |
| 9 | |
| 10 | addons: |
| 11 | apt: |
| 12 | packages: |
| 13 | - autoconf-archive |
| 14 | - libcmocka0 |
| 15 | - libcmocka-dev |
| 16 | |
| 17 | install: true |
| 18 | |
| 19 | before_script: |
| 20 | - ./bootstrap |
| 21 | |
| 22 | script: |
| 23 | - mkdir ./build |
| 24 | - pushd ./build |
| 25 | - CONFIG_SITE=../lib/default_config.site ../configure --enable-unit |
| 26 | - make -j$(nproc) |
Philip Tricca | 2186791 | 2017-05-10 14:02:45 -0700 | [diff] [blame] | 27 | - make check |
Philip Tricca | a288cc3 | 2016-12-04 21:19:38 -0800 | [diff] [blame] | 28 | - make simulator-build |
| 29 | - make simulator-start |
Philip Tricca | 2186791 | 2017-05-10 14:02:45 -0700 | [diff] [blame] | 30 | - test/tpmclient/tpmclient |
Philip Tricca | a288cc3 | 2016-12-04 21:19:38 -0800 | [diff] [blame] | 31 | - make simulator-stop |
Philip Tricca | c2bfb94 | 2017-02-15 19:03:18 -0800 | [diff] [blame] | 32 | - | |
| 33 | for LOG in $(ls -1 test/unit/*.log); do |
| 34 | echo "${LOG}" |
| 35 | cat ${LOG} |
| 36 | done |
| 37 | - | |
| 38 | for LOG in $(ls -1 test/integration/*.log); do |
| 39 | echo "${LOG}" |
| 40 | cat ${LOG} |
| 41 | done |