-
Notifications
You must be signed in to change notification settings - Fork 18
/
.gitpod.yml
44 lines (42 loc) · 1.21 KB
/
.gitpod.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
tasks:
- init: |
echo "Gitpod init. Setting up peerjfetch dev environment."
echo "Installing aiortc dependencies"
apt install libavdevice-dev libavfilter-dev libopus-dev libvpx-dev pkg-config
echo "Preparing nodejs environment"
cd javascript
npm install
npm run prepare
npm update
npm audit fix
command: |
echo "peerfetch JavaScript:"
cd javascript
echo "Running peerfetch JavaScript testsuite:"
npm run test
- init: |
echo "peerfetch Python dev environment:"
cd python
pyenv global system
python3 -m pip install -e ./src
command: |
echo "Running the peerjfetch Python testsuite:"
python3 -m pytest --cov=peerfetch --cov-report=term tests/
echo "To start peerjs proxy service:"
echo "python3 -m peerfetch.proxy"
- init: |
echo "Installing browser-sync..."
npm install -g browser-sync
command: |
echo "Starting http server for local HTML files preview"
cd javascript
npx browser-sync start --watch --directory --server "../"
ports:
- port: 8080
- port: 10-60000
onOpen: ignore
visibility: public
github:
prebuilds:
addComment: true
addBadge: true