-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
43 lines (35 loc) · 1.51 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
language: node_js
dist: jammy
node_js:
- '19'
addons:
sauce_connect: true
apt:
packages:
- openjdk-8-jdk
cache:
directories:
- node_modules
before_script:
- npm run start &
after_success:
- bash <(curl -s https://codecov.io/bash)
after_script:
- pkill node
before_deploy:
# - zip -q -x .git\* node_modules/\* package-lock.json .npmrc -r collectionsonline .
- zip -q -x .git\* -x .npmrc -x .corc -r collectionsonline .
deploy:
- provider: elasticbeanstalk
access_key_id: &1 AKIAIWVLTZ3YIKYYXEYQ
secret_access_key: &2
secure: 'qwCHBpEUxIbcJ/QC1rbZPi/TLAknuVL6qhO7ZPGxm6NhC/8Hwi1bGjimRp4scCpPMzIDLzicjPyOdQIFkVs6mD/3xeehuZybb+UpsTJlRHLLqODktTaeGyF54+QxmTOs40us1W50ywC9SsxYjCgTvRQRo9nV9tOTn79W5HZwzI4cIQcdrfUINleRF+e9eVRu2Or1d2ZC1aq6iLKRJ4xH4nB61A0t4cT4ZcMnANZLd+hA5VeaqlAQNLZ9xiVNfDY2n8dBzfiY6gVN3xL4tHue3j1Zo8Aj3YmPgJ1OuwNdfwsyEvylTuH8Ks090gNu2LsvTEBskLH4pGiGf+nFnN7UPA/VoPvs6h7wbEP3ZVVFyL7eIKO+/8OXco1Ls81iXxaE1Duf8rTZKIrl6xHHxSjMbAT0GF74HDq6mjTRDNSl/C3c6C1m1RtxCrPe6YjlLulM2lKp65JHMLgeCitpr3GqaAxJgwhq/niZub/kmDyteayEskL2U3RiDW81EEf4D9UFBtVfpPrP9ByO+QfIUt7kBEnXLwAu1uz/phKJbFFkuD+8bZzreF4zTAd76HElky7QYzsimls0RTRXIzIT3A331PAa4lCCQtMFH01/kw/jkXznrDVFXYgVx3P79XCcF6GLfrpnBKMmgXXggK/0VQRb6TI/cKtd3UeHK7Ci72foBto='
region: eu-west-1
app: 'Collections Online'
env: collectionsonline-staging
bucket_name: elasticbeanstalk-eu-west-1-275504355335
zip_file: collectionsonline.zip
skip_cleanup: true
on:
repo: TheScienceMuseum/collectionsonline
branch: master