forked from vanessa-opensource/ovm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (29 loc) · 1.03 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
sudo: required
dist: trusty
addons:
sonarqube: true
jdk:
- oraclejdk8
before_install:
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
- echo "deb http://download.mono-project.com/repo/ubuntu trusty main" | sudo tee /etc/apt/sources.list.d/mono-official.list
- sudo apt-get update
- sudo apt-get install mono-complete mono-devel dos2unix
- wget -O os.deb http://oscript.io/downloads/night-build/deb
- sudo dpkg -i os.deb; sudo apt install -f
- oscript
install:
- sudo opm install -l
- sudo opm install -l 1bdd
- sudo dos2unix oscript_modules/1bdd/features/lib/step_definitions/ВыполнениеКоманд.os
- sudo patch oscript_modules/1bdd/features/lib/step_definitions/ВыполнениеКоманд.os 1bdd.patch
- oscript -make src/cmd/ovm.os ovm.exe
- echo -e "#!/bin/sh\nmono ./ovm.exe \"\$@\"" > ~/bin/ovm
- chmod +x ~/bin/ovm
- ovm
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'
script:
- ./travis.sh