This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
35 lines (35 loc) · 2.27 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
sudo: false
language: node_js
node_js:
- '6'
script:
- npm run test
before_script:
- git config --global user.email "[email protected]"
- git config --global user.name "Mila Frerichs"
- git remote rm origin
- git remote add origin https://milafrerichs:${GH_TOKEN}@github.com/GeoNode/geonode-client.git
after_success:
- "if [[ $TRAVIS_BRANCH =~ (master|^v[0-9]+.[0-9]+)] && $TRAVIS_PULL_REQUEST == 'false' ]]; then npm run deploy; fi;"
- "[[ $TRAVIS_BRANCH =~ (master|^v[0-9]+.[0-9]+) ]] && codeclimate-test-reporter < reports/coverage/lcov.info"
cache:
directories:
- node_modules
addons:
code_climate:
repo_token: 00c5fb58ac00b89d8a342c343ddae17abe6f9070f962eccbba5174b4f9a68ea8
env:
global:
secure: DPq7+qJnkDPeIwNrGZuObzhGBlSdY+8MDRH69iFEO+KKfZqvKr1WPW066+3n584kFFgfyBsieVjB8hAYcED4yOazW0+SdtRWCqYzQUzPs7Xperomym8GO1cmWmxq5VvUUxPAViWj5HtEzu4E8EnI2oKwTfPqWADBJoyq+snMb9sZOXHmYvXKH4ubRvGKMChMRh0SWBQfVxCdfkHGnXW53ANTrlwxtlow3MiQk+GKBTc0e7wjAwI79kSw29U/9WFmcIF7AOftxr48W2UXa1DebuquuUpSW5WDVDXj1hs9cFPgPfJLbQlj/Nvwdu/f0LNRRnlT8TrjxoyXLxekIlpfTu8yQWzlKqCM0DogQBpWzxQcynVw/djPn5Vu+6TTuJoHXBODOVm5caspga3oppHEZ1gRfoZRTsjQUUeGSTCLhSE7sVdJvnfauvH8m5fyEVA6wm70H8sap0b37UBW7JW+f87tVcdOq3zxvRj2xmEoyy2FrE484fB42/KdUEsxevvICp7URPzo1kz29QzwpwdM++U535joa3jzoMM1HMJzlai6rs3E5s/eZrKb+9XUSzBw54IvjHHshWcRkchhTThyXijdT/1o5/eRAHPU8OoA5eXj1f1ZSUl9N1PA9RfyCbNOQpoCJI2mZAi5gHCKV+yqwOsgEVlqWvjq3QX0wZ7EBk0=
before_deploy: npm run dist
deploy:
provider: pypi
user: milafrerichs
password:
secure: RHujuX5HBoIWB+o/nuHdsnKBzMqS6SzWKm5m5TJbxjBCkZUgx6yj1BcSrvci1RTHOR1gA/l9HV9UdKKmxjGN3NVMHoRupdhuYKJkavFVLb+2arHK03AL3cJ/zFpE+a6qC83KhXWw2+tszPFlkDIXs2c78bSdNxwLgkRMa2xBgTpYkIReNkipPim1Mfk9t2J1GOGnGg1kw1mA6lLFapH9/y6SmCaamWpiTLVSEchQv1JS1qiGNiO496toKtPLn/dmKedj+/JcSwGL8Mt80jAmqmJ6mlVFafl5CaEB8kGOaEaQ5CUXjlowkleluT8uEdWCTsVxKbZ53s4hXXqmEnc3tDX3fhGjceE6gR9+vf14IQWPM6LgVqmVt8nBDaFYQ93DwyKruN5pNLMSCn49+OopheCVDmO4M+46z+NutQlNW5WgO3qqJDTBnhHYHNmm2UpSqzyKj3y+tzijUQxGnN9wG+2aX7ak4lG7z3YaNF42HyeTHjx0egaJJiATQPxJrt9KuKvk0Tb03gSXndT9z4TlvChRQvkrPfiaCQraiJoP20+NenX9itCpH7LNEhi4enZF5gN6phXNybkf11mBlDnoJK9/cJ/ihIxrxXbTKA+WtTFQqpRmEnhXIOlaFq/D+BPWuJT8/cakY166fdBEzq/68BhL7FqFHAeYdZI/74r0P/w=
skip_cleanup: true
skip_upload_docs: true
on:
tags: true
distributions: sdist bdist_wheel
repo: GeoNode/geonode-client