-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (38 loc) · 893 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
language: node_js
sudo: required
node_js:
- "7"
cache:
directories:
- $HOME/.npm
- $HOME/.elm
- $HOME/.nvm
- ./libsysconfcpus
before_install:
- uname -a # print the *exact* operating system/kernel version
- | # build time improvement see: https://git.io/vQcqz
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
install:
- npm i create-elm-app -g
jobs:
include:
- name: "Test"
script: elm-app test
- name: "Build"
script: elm-app build
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true
target-branch: gh-pages
local-dir: ./build
on:
branch: master