forked from energy-data/africa-grid-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (33 loc) · 1.2 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
language: node_js
node_js:
- '4'
env:
global:
- CXX=g++-4.8
- DEPLOY_BRANCH=master
- secure: CLkssx3w8rrorR55tE1xvxjHQOQD4zws2jcMDWqDNnMIFyThPcQgMohto3q5DBLRBNTYYeB+fepohxPxJP3dnfb+Llmb38bNEy68HpIAXStLghh/QfwXiMxzaiZGTdK2Ua9wFlDibvaGSQuo4AHWuMOcwQQVYTfjc+6jzNMTPCVEjMgoMIu998ynH/oQs2On8AT96ELUlYfmOAfg/T+Qn0Yw8ztIGmsF4uMjxEkY2G+cWMFOVv2UW9Gr4rglHxCXofktO97F6KO9AxXH7lwnctDHmUsS1CZlmwT2Hb0aviZX4GEcxUcx10h3d7EgUKhK47gSGJHGWJjyHxTfibnEFVdCeV39b4U806NUTY0LCUtMVjFqZt1Fd1nfNAyd9pFIAtbgqg1NqMzqSPTyJFyH05sAD13MWUY2X9IVNGJ0v9FV6Xum4e/BBKoxFZcgiCb+zif5zC6CJHSPXoRkPFBoDhqFbp0gl01jDvPMijDdeVIMRckFur4Q+Zb39KELh/6rfVCnwXHu2Bh9Q2IgoFFl4LE2yC/IGoG1nzCu/fwoKIe/LdBcf9uQbNntedicM3skZtupgfmKohy53U3FffAQwm9RKGjrxhTUaEQXG4pQ88qPeEtTVwFjoCJWx5XjrQS/HNHI46SlvmcfDerXE2OKMc66tJZ1q9FaeTEeY/x59lY=
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
cache:
apt: true
yarn: true
directories:
- node_modules
before_install:
- chmod +x ./.build_scripts/deploy.sh
# - chmod +x ./.build_scripts/lint.sh
before_script:
# - "./.build_scripts/lint.sh"
- yarn test
script:
- yarn run build
deploy:
provider: script
skip_cleanup: true
script: ".build_scripts/deploy.sh"
on:
branch: "${DEPLOY_BRANCH}"