Skip to content

Commit

Permalink
radon: mv .travis to intergration and put it in radon root dir #598
Browse files Browse the repository at this point in the history
[summary]
1. rename .travis to intergration dir.
2. put intergration dir in radon root directory.
[test case]
N/A
[patch codecov]
N/A
  • Loading branch information
hustjieke authored and BohuTANG committed Apr 2, 2020
1 parent ca23e65 commit f024ec2
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,24 @@ go:
- 1.11.x

before_script:
- mysqld --defaults-file=.travis/my3306.cnf --initialize-insecure
- mysqld --defaults-file=.travis/my3306.cnf &
- mysqld --defaults-file=.travis/my3307.cnf --initialize-insecure
- mysqld --defaults-file=.travis/my3307.cnf &
- mysqld --defaults-file=.travis/my3309.cnf --initialize-insecure
- mysqld --defaults-file=.travis/my3309.cnf &
- git clone https://github.com/radondb/radon.git
- cd radon
- mysqld --defaults-file=intergration/my3306.cnf --initialize-insecure
- mysqld --defaults-file=intergration/my3306.cnf &
- mysqld --defaults-file=intergration/my3307.cnf --initialize-insecure
- mysqld --defaults-file=intergration/my3307.cnf &
- mysqld --defaults-file=intergration/my3309.cnf --initialize-insecure
- mysqld --defaults-file=intergration/my3309.cnf &
- make
- mkdir -p bin/bin/radon-meta
- cp ../.travis/backend.json bin/bin/radon-meta/
- cp intergration/backend.json bin/bin/radon-meta/
- cd ./bin
- ./radon -c ../conf/radon.default.json &
- cd ../..
- cd ..

before_install:

script:
#test is used for make testcanal in shift
- mysql -uroot -P3306 -h127.0.0.1 -e 'CREATE DATABASE IF NOT EXISTS test;'
- make build
- make test
- make coverage
# testshift is used for make test on shift. We take it out alone because it needs to build at
Expand All @@ -34,7 +31,7 @@ script:


# integration_test is used to do integrate test on radondb
- cd .travis/radon-test
- cd intergration/radon-test
- bash mtr.sh
- cd -

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f024ec2

Please sign in to comment.