File: .travis.yml

package info (click to toggle)
swi-prolog 8.0.2+dfsg-3+deb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 72,036 kB
  • sloc: ansic: 349,612; perl: 306,654; java: 5,208; cpp: 4,436; sh: 3,042; ruby: 1,594; yacc: 845; makefile: 136; xml: 82; sed: 12; sql: 6
file content (74 lines) | stat: -rw-r--r-- 1,778 bytes parent folder | download | duplicates (2)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
# Travis-ci  specification  for  SWI-Prolog    contributed  by  Jonathan
# Goldfarb. Please note that SWI-Prolog  commits   are  frequent and the
# HEAD of master does not always build.

language: C

dist: trusty

os:
  - linux
  - osx

addons:
  apt:
    packages:
      - build-essential
      - pkg-config
      - ncurses-dev
      - libreadline-dev
      - libedit-dev
      - libgmp-dev
      - libssl-dev
      - unixodbc-dev
      - zlib1g-dev
      - libarchive-dev
      - libossp-uuid-dev
      - libxext-dev
      - libice-dev
      - libjpeg-dev
      - libxinerama-dev
      - libxft-dev
      - libxpm-dev
      - libxt-dev
      - libdb-dev
      - libpcre3-dev
      - libyaml-dev
      - openjdk-8-jdk
      - junit
      - ninja-build
  homebrew:
    packages:
      - cmake
      - ninja
      - gmp
      - libarchive
      - readline
      - ossp-uuid
      - openssl
      - libyaml
      - unixodbc
      - berkeley-db
      - pcre
      - jpeg

# The  code  below  may  be  used  to   work  from  your  own  clone  of
# swipl-devel.git while downloading the git submodules from GitHub. Note
# that you can also simply not  checkout   the  package modules. In this
# case  you  need  -DINSTALL_DOCUMENTATION=OFF    as  the  documentation
# requires several packages.
#
# git:
#  submodules: false
#
# before_script:
#  - mkdir build
#  - if [ "$TRAVIS_OS_NAME" == "linux" ] ; then sed -i 's~url = ..~url = https://github.com/SWI-Prolog~' .gitmodules; fi
#  - if [ "$TRAVIS_OS_NAME" == "osx" ] ; then sed -i '' 's~url = ..~url = https://github.com/SWI-Prolog~' .gitmodules; fi
#  - git submodule update --init

script:
  - cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`pwd`/usr -G Ninja ..
  - ninja
  - ctest -j 8
  - ninja install