aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 8d87ed20ac4acf2b1beff0c3ee2feeebabab87e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: c
dist: trusty

matrix:
    include:
        - os: linux
          env: BUILD=x86_64-linux-gnu
          compiler: gcc

        - os: linux
          env: BUILD=i686-linux-gnu CFLAGS=-m32
          addons:
              apt:
                  packages:
                      - gcc-multilib
          compiler: gcc

        - os: linux
          env: BUILD=x86_64-linux-gnu
          compiler: clang

        - os: linux
          env: BUILD=i686-linux-gnu CFLAGS=-m32
          compiler: clang
          addons:
              apt:
                  packages:
                      - gcc-multilib

        - os: linux
          env: 
              - BUILD=i686-w64-mingw
              - CONFIGURE_ARGS="--build=i686-unknown-linux-gnu --host=i686-w64-mingw32"
          addons:
              apt:
                  packages:
                      - binutils-mingw-w64-i686 gcc-mingw-w64-i686 g++-mingw-w64-i686

script:
    - unset CC
    - ./bootstrap && ./configure --enable-remote-bitbang --enable-jtag_vpi $CONFIGURE_ARGS && make
    - file src/openocd