we already use Actions CI instead of Travis CI.

This commit is contained in:
hongzhan Chen
2020-01-07 15:30:51 +08:00
committed by qzheng527
parent 1f0fccbff3
commit 36162de291
2 changed files with 8 additions and 56 deletions
-43
View File
@@ -1,43 +0,0 @@
sudo: required
services:
- docker
env:
- DOCKERFILE_DIR=cassandra
- DOCKERFILE_DIR=cgit
- DOCKERFILE_DIR=clr-installer-ci
- DOCKERFILE_DIR=elasticsearch
- DOCKERFILE_DIR=flink
- DOCKERFILE_DIR=golang
- DOCKERFILE_DIR=haproxy
- DOCKERFILE_DIR=httpd
- DOCKERFILE_DIR=iperf
- DOCKERFILE_DIR=machine-learning-ui
- DOCKERFILE_DIR=mariadb
- DOCKERFILE_DIR=memcached
- DOCKERFILE_DIR=mixer-ci
- DOCKERFILE_DIR=nginx
- DOCKERFILE_DIR=node
- DOCKERFILE_DIR=openjdk/8
- DOCKERFILE_DIR=openjdk/13
- DOCKERFILE_DIR=openvino
- DOCKERFILE_DIR=os-core
- DOCKERFILE_DIR=perl
- DOCKERFILE_DIR=php
- DOCKERFILE_DIR=php-fpm
- DOCKERFILE_DIR=postgres
- DOCKERFILE_DIR=python
- DOCKERFILE_DIR=rabbitmq
- DOCKERFILE_DIR=redis
- DOCKERFILE_DIR=ruby
- DOCKERFILE_DIR=tensorflow
- DOCKERFILE_DIR=tensorflow-serving
- DOCKERFILE_DIR=tomcat
- DOCKERFILE_DIR=wordpress
script:
- cd $DOCKERFILE_DIR
- docker build -t clearlinux/$DOCKERFILE_DIR .
- cd ..
- if [ -d "./tests/$DOCKERFILE_DIR" ]; then cd tests; make $DOCKERFILE_DIR; fi
+8 -13
View File
@@ -22,20 +22,15 @@ test case.
How to add test cases
------------------------------------
The test cases are for the micro services already added in the travis CI.
So for any micro services defined in the "env" part of the ".travis" file,
the same name directory could be added in the directory "tests". And the
same name BAT script in the new added directory will be executed for each
PR/commits. For example, redis.
* First, the redis is added in the "env".
The test cases are for the micro services already added in the Actions CI.
So for any micro service name defined in the matrix.node of .github/workflows/
tests.yml, the same name directory could be added in the directory "tests".
And the same name BAT script in the new added directory will be executed for
each PR/commits. For example, redis.
* First, the redis name is added in the matrix.node.
```
services:
- docker
env:
......
- DOCKERFILE_DIR=redis
......
matrix:
node: ["redis"]
```
* Second, create the "redis" directory and BAT script under tests