-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
53 lines (43 loc) · 1.23 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
48
49
50
51
52
53
sudo: true
#dist: xenial
language: java
install:
- ./dependencies.sh
- ls -ltrh /usr/share/fonts/
- export path1=some-value
- wget https://github.com/standup75/standupweb-cms/raw/master/css/BAUHS93.TTF
- ls -ltrh
- sudo cp BAUHS93.TTF /usr/share/fonts/
- wget https://github.com/wine-mirror/wine/raw/master/fonts/wingding.ttf
- sudo cp wingding.ttf /usr/share/fonts/
- ls -ltrh /usr/local/share/fonts/
- ls -ltrh /usr/share/fonts/
- echo $path1
- fc-list | grep -i auhaus
jdk:
- openjdk8
script:
- Xvfb :5 -screen 0 800x600x24 &
- export DISPLAY=:5
- openscad --version
- export MAVEN_OPTS="-Xmx928m -Xms928m -Xss20m"
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar
- echo('model errors count')
- wc -l openscad/models/target/errorred-pngs.text
addons:
sonarcloud:
organization: $SONAR_ORGNIZATION
token: $SONAR_TOKEN
# This configuration works to upload to AWS S3 buckets!
artifacts:
s3_region: us-west-1
paths:
- openscad/models/target/errorred-pngs.text
- $(cat openscad/models/target/errorred-pngs.text | tr "\n" ":")
target_paths: $TRAVIS_BUILD_NUMBER
bucket: openscad-2
permissions: public-read
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'