This repository has been archived by the owner on Jun 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
/
.travis.yml
77 lines (77 loc) · 2.99 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
sudo: required
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
language: node_js
node_js:
- 12
# safelist
branches:
only:
- master
cache:
directories:
- node_modules
- "~/.m2"
- tmp
- "~/.boot/cache/lib"
- "~/.boot/cache/bin"
- yarn
before_install:
- sudo fallocate -l 4G /swapfile
- sudo chmod 600 /swapfile
- sudo mkswap /swapfile
- sudo swapon /swapfile
- sudo sysctl vm.swappiness=10
- npm install -g yarn
- curl -sSL https://raw.githubusercontent.com/cljs-oss/canary/master/scripts/install-canary.sh | bash
- wget https://github.com/boot-clj/boot-bin/releases/download/latest/boot.sh
- mv boot.sh boot && chmod a+x boot && sudo mv boot /usr/local/bin
- nvm install ${BUILD_NODE_VERSION} && nvm alias default ${BUILD_NODE_VERSION}
install:
- yarn install
script:
- yarn lint
- yarn type:check
- yarn test
- boot test
- nvm install node && nvm alias default node
- boot release-ci
- ./scripts/test-build
after_success:
- chmod a+x build/lumo
- zip -j build/lumo.zip build/lumo
- cp -v build/lumo.zip build/lumo-$BUILD_ARCH-node-v$BUILD_NODE_VERSION.zip
- rm -v build/lumo
deploy:
provider: s3
bucket: lumo-linux
skip_cleanup: true
local_dir: build
output_dir: $BUILD_NODE_VERSION
acl: public_read
access_key_id:
secure: Zi+VqofifktqdwBsVeaxXoEA5d4bCzM6JvMOZswkr4TrGya1AJ6RGAXH/XJoQ8i16IYOgTugnOvsyI19NcA9ZJLWGbiqNkGF2AiGpqxxk2zMnWNpXV+qnK1E7bmYgx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/VTvpqtjnacSmkTV8/ADTqFVrNzv61iOKy8Gwr6686LwqYisU1c2hZpZvh6IeI7yGKuw7s9EFrLxXS61t4wP8JChfswooOsmnd+cSjwbiQTjADKaM6TQE4NdTzoQ4SdBbAjxSezYftvR3kfeHD25Ec1SZW1iTOpysiYKkQ7t9Bbn7fT+8=
env:
global:
- >
BOOT_JVM_OPTIONS='-client
-XX:+TieredCompilation
-XX:TieredStopAtLevel=1
-Xmx2g
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled
-Xverify:none'
BUILD_ARCH=linux
- CC=gcc-6 && CXX=g++-6
matrix:
fast_finish: true
include:
- env:
- BUILD_NODE_VERSION=12.2.0