-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
60 lines (60 loc) · 1.42 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
sudo: required
dist: trusty
language: scala
scala:
- 2.11.8
addons:
apt:
packages:
- realpath
- chromium-chromedriver
- xvfb
- texlive
- lmodern
- texlive-generic-recommended
- cabal-install
- ghc
before_install:
- openssl aes-256-cbc -K $encrypted_a9e8fd99858b_key -iv $encrypted_a9e8fd99858b_iv
-in travis.key.enc -out ~/.ssh/id_rsa -d
- chmod 600 ~/.ssh/id_rsa
- sudo cabal update
- sudo cabal install Cabal cabal-install -j10 --global
- sudo cabal install pandoc -j10 -f -https -f -network-uri --force-reinstalls --global
- curl https://sh.rustup.rs -sSf > rustup.sh
- sh rustup.sh -y
- export PATH=~/.cargo/bin:$PATH
- createdb wilcd
- wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.12.tar.gz
- tar xvf libsodium-1.0.12.tar.gz
- pushd libsodium-1.0.12
- "./configure"
- make
- sudo make install
- popd
- sudo cp wilcd-ui/chromedriver.sh /usr/local/bin/chromedriver
script:
- pushd Prototyp/binfontify
- cargo test
- popd
- pushd Prototyp/MCU/MCU-Discovery
- mv Src/font.c Src/font-git.c
- "./regen-font.sh"
- cmp Src/font.c Src/font-git.c
- popd
- pushd Prototyp/MCU/MCU-Henrik
- mv Src/font.c Src/font-git.c
- "./regen-font.sh"
- cmp Src/font.c Src/font-git.c
- popd
- pushd Prototyp/uartd
- cargo test
- popd
- pushd wilcd-ui
- xvfb-run env LD_LIBRARY_PATH=/usr/lib/chromium-browser/libs sbt test
- popd
deploy:
provider: script
script: "./travis-deploy.sh"
on:
branch: master