-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
36 lines (35 loc) · 974 Bytes
/
.gitlab-ci.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
image: debian:stable
before_script:
- apt-get update
- apt-get install nodejs ruby1.9.3-full python2 python3 golang-go
- node --version
- python2 --version
- python3 --version
- ruby --version
- go version
- go get github.com/SSSaaS/go-libtest
- cd $GOPATH/src/github.com/SSSaaS/go-libtest
- mkdir libs
- cd libs
- git clone https://github.com/SSSaaS/sssa-golang
- git clone https://github.com/SSSaaS/sssa-python
- git clone https://github.com/SSSaaS/sssa-js
- git clone https://github.com/SSSaaS/sssa-ruby
- cd sssa-js
- npm install
- cd ../
- cd sssa-golang
- go test
- cd ../sssa-python
- python2 ./utils_tests.py
- python2 ./sssa_tests.py
- python3 ./utils_tests.py
- python3 ./sssa_tests.py
- cd ../sssa-ruby
- ruby ./tests/all.rb
- cd ../sssa-js
- node ./test/sssa.js
- cd ../../
tests:
script:
- go run ./go-libtest.go ./specs/travis/*.json