forked from Electron-Microscope/electron-microscope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (38 loc) · 1.52 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
os:
- linux
# virtual framebuffer to provide a virtual display to start electron
addons:
apt:
packages:
- xvfb
language: node_js
node_js:
- '6'
cache:
directories:
- node_modules
env:
global:
secure: iDWEm2Hzb1e02wVAs0m7t1ebc3bcVs4XlAAWBtvcKtBa5DF3fnLyVMInnDGVlQ8huuUVIh/vxJxYsB3YS3941NNEvbOlr7c2YT+a6ncOGg0qlGeGGE5PqmK2Inah8iyWsY+PhlitDp3VfHfvuKbHD86+lDzuxhz56ZjZbrm69/a2NdXgzhpDY93opyxExX73ioY7asBTqn7nU48FGWBW8wE1/HAqgsLyS+hE/Ky0zOq5HDa6yxmENXI0fHKWIj6haS0l4QU0LWqWun0klAWRPJHRVWKW5Im05f3Ok48Ey+Ra/fA9RLhZsMiByC5anwHc+VoD0rpDFSKCfsx3fQP7oZEs429L41OTSrwVigdN6ROYJOqNAjRkjlxXPqxrCSCcg92vk5KMDSuAGhFA4e8Ca3hHQiQ7O0D4q4uABEvOjfjXyd3nd6Zc4aKZ4UfXwlC3P2EW+F1KmExUvuVZ8dh98Wo8mazVETN2sSPwoukmDHo4gNnoz8AHE4zFxqUiESwHuv7s6tCut4rDh7sxGXHyjofHy15lCL5iNwrQyVDZ7OMN3ubRqJ1nlccVzBuJT0bfASb3bozZYbosUC00AxtUPwqfvZky2fDiShrSy3mGpHU/SJI6XgOB7aUvXfpXpsKuu0//4VJ/PYyeQcFHMaV3VwtgHnpmVVKXWD23YLTy1Wg=
# install git lfs
# see https://github.com/travis-ci/travis-ci/issues/3634
before_install:
- mkdir -p $HOME/bin
- wget https://github.com/github/git-lfs/releases/download/v1.1.2/git-lfs-linux-amd64-1.1.2.tar.gz
- tar xvfz git-lfs-linux-amd64-1.1.2.tar.gz
- mv git-lfs-1.1.2/git-lfs $HOME/bin/git-lfs
- export PATH=$PATH:$HOME/bin/
install:
- npm prune
- npm install
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script:
- git lfs pull
- npm run lint
- npm run test:ci
after_success:
- "./build/travis-ci.package.sh"
- "./build/travis-ci.deploy.sh"