-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
47 lines (46 loc) · 2.72 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
44
45
46
47
dist: trusty
branches:
only:
- master
jobs:
include:
- name: V4T Server (Spring Boot)
language: java
jdk: oraclejdk11
services:
- docker
before_script:
- cd ./vscode4teaching-server/
- chmod +x mvnw
script:
- "./mvnw clean package -B -q"
after_script:
- cd ..
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build -t vscode4teaching/vscode4teaching:2.2.1 .
- docker build -t vscode4teaching/vscode4teaching:latest .
- docker push vscode4teaching/vscode4teaching:2.2.1
- docker push vscode4teaching/vscode4teaching:latest
- name: V4T Extension (Node.js)
language: node_js
os:
- linux
- osx
node_js: 16.16.0
install:
- |
if [ $TRAVIS_OS_NAME == "linux" ]; then
export DISPLAY=':99.0'
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
fi
before_script:
- cd ./vscode4teaching-extension
- npm install --save-dev
script:
- npm test
cache:
npm: false
env:
global:
- secure: Xubi//N9TBKtampk7kO3V0rvuhbCIzVJ7ad2oJIoZGVUyCgmt9KdK46jfG2eSUYuvOMKg1xrXia0R0YC+VveoJPiRgCxqNIfqhb605XaY0SLRXAh2cThABs6q3IwFzoFVIG/8/xhZpqSngbystQxm8EflGhYdZYukijqtEEx78VrtuWaPRBcxGBFt8GaaLyzWvy8eY6Fzw4KZntZPHaalLt0t5k+Qt+Dt2AJuUb3YV1IaWyMQIeF0dKM2XLMpUISeRBVzPrqSmRxpbMyR+8iktPY2KYJFmeH1MD8H1imG/OVkHxSRiXsPXkZ8ueqXSzZ1R9cNIR6ZLKRIyo2sMvxRz5Kzr2fhcEtxCtyRW0sXFV4EG7lsUewn9E9MJ7e5OtnwZOKkcIvStydrwd3t9TH+pUd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