1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-14 20:31:56 +00:00

CI: Migrate to Circle2.0

This commit is contained in:
winlin 2019-02-02 19:57:29 +08:00
parent b4619e3393
commit bcfb867e2e
2 changed files with 21 additions and 22 deletions

21
.circleci/config.yml Normal file
View file

@ -0,0 +1,21 @@
version: 2
jobs:
build:
docker:
- image: ossrs/dev
steps:
- checkout
- cd trunk && ./configure --without-ssl --without-valgrind && make
test:
docker:
- image: ossrs/dev
steps:
- checkout
- cd trunk && ./configure --without-ssl --without-valgrind && make && ./objs/srs_utest
workflows:
version: 2
build_and_test:
jobs:
- build
- test

View file

@ -1,22 +0,0 @@
## filter branches.
general:
branches:
only:
- 3.0release
- 2.0release
- develop
- master
- /feature\/.*/
- /hotfix\/.*/
- /release\/.*/
- /pull\/.*/
dependencies:
override:
- echo "ok"
test:
override:
- (cd trunk && ./configure --without-ssl --without-valgrind && make)
- (cd trunk && ./objs/srs_utest)