-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (33 loc) · 926 Bytes
/
.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
sudo: false
language: node_js
node_js:
- 14
before_install:
- | # epic build time improvement - see https://github.com/elm-lang/elm-compiler/issues/1473#issuecomment-245704142
if [ ! -d sysconfcpus/bin ];
then
git clone https://github.com/obmarg/libsysconfcpus.git;
cd libsysconfcpus;
./configure --prefix=$TRAVIS_BUILD_DIR/sysconfcpus;
make && make install;
cd ..;
fi
- openssl aes-256-cbc -K $encrypted_a2d2f610dfff_key -iv $encrypted_a2d2f610dfff_iv -in deploy_key.enc -out deploy_key -d
- git clone https://github.com/langue-festival/langue-festival.github.io.git deploy
cache:
directories:
- node_modules
- sysconfcpus
script:
- $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 make
after_success:
- bash deploy.sh
branches:
only:
- master
env:
global:
addons:
apt:
update: true