On 12 October 2016 at 20:21, Brian Brooks <brian.bro...@linaro.org> wrote:
> On 10/18 11:24:14, Mike Holmes wrote:
>> allows pushes to a github clone of ODP to automatically trigger CI builds
>>
>> Signed-off-by: Mike Holmes <mike.hol...@linaro.org>
>
> Reviewed-by: Brian Brooks <brian.bro...@linaro.org>
>
>> ---
>>  .travis.yml | 35 +++++++++++++++++++++++++++++++++++
>>  1 file changed, 35 insertions(+)
>>  create mode 100644 .travis.yml
>>
>> diff --git a/.travis.yml b/.travis.yml
>> new file mode 100644
>> index 0000000..0675952
>> --- /dev/null
>> +++ b/.travis.yml
>> @@ -0,0 +1,35 @@
>> +
>> +language: c
>> +compiler: clang
>> +sudo: required
>> +
>> +before_install:
>> +        - sudo apt-get -qq update
>> +        - sudo apt-get install automake autoconf libtool libssl-dev 
>> graphviz mscgen git doxygen
>
> Would a ./scripts/install_build_deps.sh which installs development packages
> based on info in /etc/lsb-release be useful?

I had missed this comment sorry Brian, yes perhaps that is easier


>
>> +        - gem install asciidoctor
>> +
>> +#       Install cunit for the validation tests because distro version is 
>> too old and fails C99 compile
>> +        - export CUNIT_VERSION=2.1-3
>> +        - curl -sSOL 
>> http://sourceforge.net/projects/cunit/files/CUnit/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2
>> +        - tar -jxf *.bz2
>> +        - cd CUnit*
>> +        - ./bootstrap
>> +        - ./configure --enable-debug --enable-automated --enable-basic 
>> --enable-console --enable-examples --enable-test
>> +        - make
>> +        - sudo make install
>> +        - cd ..
>> +        - export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
>> +
>> +install:
>> +        - ./bootstrap
>> +
>> +script:
>> +        - ./configure --enable-user-guides && make
>> +        - ./configure --enable-test-cpp && make check
>> +        - ./configure --enable-test-vald && make check
>> +        - ./configure --enable-test-helper && make check
>> +        - ./configure --enable-test-perf && make check
>> +        - ./configure --enable-test-perf-proc && make check
>> +        - ./configure --enable-test-example && make check
>> +        - ./configure && make doxygen-doc
>> +        - ./configure && make distcheck
>
> Similarly, ./scripts/configure-dbg ./scripts/configure-opt
> ./scripts/configure-cov and so on could contain variations on the configure
> command to verify multiple types of builds.

Yes, I think that would help

>
>> --
>> 2.7.4
>>



-- 
Mike Holmes
Program Manager - Linaro Networking Group
Linaro.org │ Open source software for ARM SoCs
"Work should be fun and collaborative, the rest follows"

Reply via email to