forked from CLARIAH/wp23-PICCL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (36 loc) · 1.51 KB
/
.travis.yml
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
language: generic
matrix:
include:
- os: linux
dist: xenial
sudo: required
language: generic
env:
- CONF_NAME=stablelm FLAVOUR=local VERSION=stable LOCALENV_TYPE=virtualenv
- os: linux
dist: xenial
sudo: required
language: generic
env:
- CONF_NAME=devlm FLAVOUR=local VERSION=development LOCALENV_TYPE=virtualenv
allow_failures:
- env: CONF_NAME=devlm FLAVOUR=local VERSION=development LOCALENV_TYPE=virtualenv
notifications:
irc:
channels:
- "irc.uvt.nl#gitlama"
template:
- "%{repository_slug}#%{build_number} %{message} --> %{build_url}"
skip_join: true
install:
- echo -e "[hostsecurity]\ndisabletls10warning = true" > ~/.hgrc
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then sudo apt remove mysql-server mysql-server-5.7 postgresql-10 postgresql-9.4 postgresql-9.5 postgresql-9.6; fi
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then sudo rm -rf /opt/pyenv; fi
- sudo update-java-alternatives -s java-1.8.0-openjdk-amd64
- mkdir /home/travis/build/LaMachine
- cd /home/travis/build/LaMachine
- wget https://raw.githubusercontent.com/proycon/LaMachine/master/bootstrap.sh
- bash bootstrap.sh --name $CONF_NAME --branch master --flavour $FLAVOUR --version $VERSION --env $LOCALENV_TYPE --private --minimal --prefer-distro --noninteractive --verbose --install piccl
- cd /home/travis/build/LanguageMachines/PICCL
script:
- USER="travis" bash test.sh