summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 8ff50c44b276d3850c78f63b56ca2c0dc68799bf (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
language: C
sudo: enabled
addons:
  apt:
    update: true
    packages:
      - libssl-dev
  homebrew:
    packages:
      - openssl

matrix:
  include:
#    - os: linux
#      dist: xenial
#      addons:
#        apt:
#          packages:
#            - libsystemd-dev
#      before_script:
#        - ./bootstrap
#      script:
#        - ./configure --enable-intf-dummy --enable-intf-dbus
#        - make
#        - sudo make install
#    - os: linux
#      dist: trusty
#      before_script:
#        - ./bootstrap
#      script:
#        - ./configure --enable-intf-dummy
#        - make
#        - sudo make install
#    - os: osx
#      osx_image: xcode10.2
#      before_script:
#        - ./bootstrap
#      script:
#        - ./configure --enable-intf-dummy
#        - make
#        - sudo make install
    - os: windows
      before_install:
        - |-
          choco uninstall -y mingw
          choco upgrade --no-progress -y cygwin
          setup-x86.exe -q --disable-buggy-antivirus --upgrade-also --wait --arch="x86_64" --root="c:\tools\cygwin" --packages="wget,bash,p7zip,libssl-devel,git,gcc-core,make,diffutils,autoconf,automake,m4,libtool,libncurses-devel,libreadline-devel" --verbose --no-admin
          echo PATH is ${PATH}
          ls -R /c/tools/cygwin
          export PATH=$PATH:/c/tools/cygwin/bin:/c/tools/cygwin/usr/bin

      cache:
        directories:
        - $HOME/AppData/Local/Temp/chocolatey
        - /C/tools/cygwin

      script:
        - ./bootstrap
        - ./configure IANADIR="./" IANAUSERDIR="./" DEFAULT_INTF="lanplus" --enable-intf-lan --enable-intf-lanplus --disable-intf-bmc --disable-intf-free --disable-intf-open --disable-intf-imb --disable-intf-usb --enable-intf-serial --enable-ipmishell
        - make