-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
35 lines (30 loc) · 1.97 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
language: python
sudo: required
dist: focal
python:
- "3.8"
before_script:
- wget https://apertium.projectjj.com/apt/install-nightly.sh -O - | sudo bash
- sudo apt-get -f install apertium-all-dev dwdiff
- git clone https://github.com/apertium/apertium-nob /tmp/apertium-nob
- git clone https://github.com/apertium/apertium-nno /tmp/apertium-nno
- ( cd /tmp/apertium-nob && ./autogen.sh )
- ( cd /tmp/apertium-nno && ./autogen.sh )
- ./autogen.sh --with-lang1=/tmp/apertium-nno --with-lang2=/tmp/apertium-nob
# The apertium/diff steps below are temporary
script:
- make -j e
- apertium -d . nob-nno_e < t/ntb/articles.orig.nob > t/ntb/articles.nob-nno
- diff -U0 t/ntb/articles.nob-nno.mt-latest t/ntb/articles.nob-nno | dwdiff --diff-input -c | grep -v "@@.*@@" || true
- make -j langs && make test
# Travis only looks at the exit code of the last command! https://github.com/travis-ci/travis-ci/issues/1066
notifications:
irc:
channels:
- secure: "jMRqT7lndd2vTXON34HHdNQ6v+DSOSUQZwKXsJytw9F55pPPS4z+76vTChHKdNcp4nV5nWhCarZR2X4bK7qWO5i25XIXsffFm4TK/XWDdZgLKHCS431mzcSVrYYASC0nn15HgGAl/H6dMksNThuV5gaItSPcKNXC9amBYLbTeSt/H+rxDBuPs+m7yy049EySTWjUoFacel7HDoTEXQyl82Ks5I0oJM+ErgS1VAe6RPiXIH+eBGbPT0YoVYUS1WoKSZYaLhLZ/jOLDnnTiFhTn/f8+uZrbAfLGWzkp9/NbyMCByQFH48HFzjudOD6BgxRumJaDFhImrKrDvPpMulXB1MLl+JD9mK+lioLaqUiUu+2wkBJ90bvOCNqhKLR94upev7Skg52n96Wc91EfiVxuwiLDJOzwFAbZ9VaziNI/Ld3y1qHO84spV7R7AWFhI34xGNkAOCJ1sZZWcH2rGFjsldLNPHeyhNBaZhxGdGdVvrbTm0jbR4G0iD54BLK1IPuJt/eaETWrAnE2XgDnJ3PE9JKtFOe5tpuhF/R9s8qFYGEVmG9SnSxqJax7K6XcQ6utla10qFX0mR5Ub8S+Ryu9fN5+g+U2fCrfJrH44RhDCz961SGcRYVaWDITtDTeAtBGP6G0jOkNv8yi21ha50y4uDxvXq1ETfoHLeYwzzCHmU="
on_failure: always
on_success: never
# The irc channel is encrypted for goavki/apertium-apy, so build notifications from forks won't show up on the IRC channel
# Encrypt with:
# $ gem install --user-install travis
# $ ~/.gem/ruby/*/bin/travis encrypt -r goavki/apertium-apy 'irc.oftc.net#apertium'