-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.travis.yml
46 lines (41 loc) · 1016 Bytes
/
.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
dist: focal
stages:
- build-test
# - deploy
jobs:
include:
- stage: build-test
language: java
jdk: openjdk19
before_install:
- chmod +x gradlew
script:
- bash ./gradlew test jacocoJupTestReport
- stage: build-test
language: python
python: 3.11
script:
- python --version
- pip install --upgrade pip
- pip install -r requirements.txt
- coverage3 run scripts/run_unit_tests.py
# - stage: deploy
# language: python
# python: 3.11
# script:
# - python scripts/get_problems_count.py
#https://caveofcode.com/2017/05/publish-an-angular-app-to-github-pages/
# deploy:
# provider: pages
# edge: true
# skip_cleanup: true
# github_token: $GITHUB_TOKEN
# keep_history: false
# commit_message: Travis CI Updates [ci skip]
# local_dir: website
# on:
# branch: main
# target_branch: gh-pages
branches:
only:
- main