File: .travis.yml

package info (click to toggle)
logol 1.7.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,108 kB
  • ctags: 1,146
  • sloc: java: 10,689; perl: 2,658; ansic: 362; xml: 359; ruby: 281; sh: 102; makefile: 39
file content (29 lines) | stat: -rw-r--r-- 1,017 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
addons:
  hosts:
     - logolhost
  hostname: logolhost
language: java
jdk:
  - "openjdk7"
# Not yet available
#  - "openjdk8"
# Apply only on main branches
branches:
  except:
    - /^feature.*$/
# command to install dependencies
before_install:
  - "sudo apt-get update -qq"
  - "sudo apt-get install -qq ruby ruby-cassiopee gawk swi-prolog junit4 ant ant-optional libncursesw5-dev texlive texlive-latex-extra tex4ht"
  - "sudo add-apt-repository ppa:olivier-sallou/cassiopee-ubuntu -y" # cassiopee not in Ubuntu Precise used by Travis, use PPA
  - "sudo apt-get update -qq"
  - "sudo apt-get install cassiopee"
  - "mkdir test/tmp"
  - "mkdir test/results"
#- sudo hostname "$(hostname | cut -c1-63)" # Fix for Travis-CI raising Java overflow on hostname, https://github.com/travis-ci/travis-ci/issues/5227
#- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
#- cat /etc/hosts # Check hosts content after modification


# command to run tests
script: ant test_swi