-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (43 loc) · 1.6 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
dist: xenial
language: node_js
node_js:
- "lts/*"
cache:
npm: true
directories:
- ci/build
- $HOME/.emscripten_cache
addons:
apt:
packages:
- lzip
- libgmp-dev
jobs:
include:
- stage: test
name: test
script: npm run test
- name: lint
script: npm run lint
- name: test c
before_install:
- source ./ci/build-near-prime.sh
- cd near-prime && make && make test
- stage: publish website
if: type = push and (branch = master OR tag IS present)
script: skip
before_install:
- source ./ci/build-near-prime.sh
before_deploy:
- source ./ci/build-website.sh
deploy:
repo: $DEPLOY_REPO # set by ci/build-website.sh
local-dir: site
provider: pages
skip-cleanup: true
github-token:
secure: "geLH07dRroZ+Av+j+NC3ALWWg0hE+JJcniSUlRjT0PMlESMGdLF5bLNPd6tXzWELCPzphn+JhQSn3StJknE4hv1jw9CVmFhSTHlYeLpHHepOjAZvRKFy89FYW4uBkJGrYm61ZqgMdhuzVTVqXPmliJBl2XkrUw4yIkA4Vg8+/srwhCRU8rvKDkcx82p2GDPAccQaXpMQfY24GunoHOmeswJc8iGzkLWGpYzGSYOejtnBAVAt7O/6cNLXGbO0E0hiJWlOY7aM3ENZq1HnirSZPbnH+UcRWvdXZNHCenO1/zSqnUnyDzguhXrxy2Pu9HZziOxMrG7QmBti7ThFcHbHiioEdFekGUEi2LYAmgIaX98ag52q5M2Tg5Q2HnkABi2E1LL90ORJ7CQBMlLbquiSGxLMizuce95HJA+KsZ4SSkxi71oyLVdXUdHwsijFMFmY1y3uMaE/4+gBWflEPgui1g88OMHnxfWoj6OsNbbAKCrbRWUEvqESirytA7ORsMcUOqcLXm9gYqkI5gCihIzBGzUG64VNlYFxH/CZqCgkTz40gMa4jlDWMn7jgTOQLZLKIEoEL1BG9NrR++3TijLHTynvSJf4Gp+54HYHo2mo48fozPHKCugkdfVBsTTvC/qK5S1jGyMmFb+2+jfcMrGz2+AKoL79x1n4BVEzK8Y6kR0="
# keep-history: true
on:
all_branches: true
tag: true