-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (28 loc) · 1.62 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
dist: xenial
sudo: required
language: node_js
node_js:
- "8.11.3"
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -qq g++-8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
- git clone https://github.com/devosoft/Empirical ../Empirical
- git clone https://github.com/emscripten-core/emsdk.git && cd emsdk && git pull && ./emsdk install latest && ./emsdk activate latest && . ./emsdk_env.sh && cd ..
script:
- make test
after_success:
- git config --global user.email "[email protected]"
- git config --global user.name "Travis CI"
- cd web
- git init
- git remote add origin https://${GH_TOKEN}@github.com/devosoft/dynamic-word.git > /dev/null 2>&1
- git checkout -b gh-pages
- git add .
- git commit --message "Travis build ${TRAVIS_BUILD_NUMBER}"
- test ${TRAVIS_BRANCH} = "master" && git push --force --quiet origin gh-pages
env:
global:
secure: OxRTr2Vg5KkviTBp+S2CWJFh+vueZg5FizzHa1IgJnUBMa+k7BZ5L9ixNE8H2YpA1idTIorwmjhf+JmtpfNNgbQ335N4WVwuPDl8rvUGlOD9wfB2tCoEfxAXLQi7u/oYxSnn7wsekVjmZ1zaIY4p3YDViTLqxNJKfbPToYHjR72aS7JoE31BRCQkLiHHDt7EvXrWJsDjtGbzg89HUEcP3ubYuj0WlDPEQ1H0HvHpYRf29Zh501Nh8q1Knrj9JLN/ftgFUJ3UsBc8DIT4rO1LhEqs9vsXZJzvwkA9YqPZyXFEz5XzPWvups74MB3zCoO5ZKwOD/A6wEe03m76AkiizT8ixYoaVyMPTMGabkRKTjC1ESNDF7clJ9lunDK362uwknqpfK3y407egjokVBH5RSxy7p9RUjPG7dYLNN6HXjWkep4kN31Od0/eLgDPA8n1YvWHSk0ihOzvp6s+PToZ+NgNXK3rSEALRTh46li55lhBs07TXnJniO5qKPj4gHteG+gsN3r7OpoXPOm0WP8Kx+xTMFpIt28B9u7BYjj22RTvQdsjY9zVp5PiCGL1XMRVZBJ9m8VpvCYWfzJ+ND0GgyU+O+UtwtnEaM4rpm6oyFmUeI19OLw1ZnXBTL9A/5Ci3dPuVBsti6U1UuUSLfq/UQvFNbZgt5ApjwGk0X9m+uE=