Merge pull request #49 from sirocyl/patch-1
[lwext4.git] / .travis.yml
1
2 language: c
3 compiler: gcc
4 sudo: required
5 dist: trusty
6
7 install:
8     - uname -a
9     - sudo rm /var/lib/apt/lists/* -vfr
10     - sudo apt-get update -qq
11     - sudo apt-get install -qq cmake
12     - wget http://www.freddiechopin.info/en/download/category/11-bleeding-edge-toolchain?download=139%3Ableeding-edge-toolchain-151225-64-bit-linux -O /tmp/gcc-arm-none-eabi-5_3-151225-linux-x64.tar.xz
13     - tar -xf /tmp/gcc-arm-none-eabi-5_3-151225-linux-x64.tar.xz -C /tmp/
14     - export SAVED_PATH=$PATH
15
16 script:
17     - gcc --version
18     - make generic
19     - cd build_generic && make -j`nproc`
20     - cd ..
21     - export PATH=/tmp/gcc-arm-none-eabi-5_3-151225/bin:$SAVED_PATH
22     - arm-none-eabi-gcc --version
23     - make cortex-m4
24     - cd build_cortex-m4 && make -j`nproc`
25     - cd ..
26     - make cortex-m3
27     - cd build_cortex-m3 && make -j`nproc`
28     - cd ..
29     - make cortex-m0
30     - cd build_cortex-m0 && make -j`nproc`
31     - cd ..
32
33 notifications:
34     on_success: change
35     on_failure: always