mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 09:08:08 +08:00
test: use the test suite in the effective way
add tests/check_toml_test.cpp to compare json object
This commit is contained in:
@@ -1,7 +1,22 @@
|
||||
version: 2.1
|
||||
|
||||
jobs:
|
||||
test:
|
||||
test_suite:
|
||||
environment:
|
||||
- GOPATH: /home/circleci/go
|
||||
docker:
|
||||
- image: circleci/golang:1.9
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
command: |
|
||||
g++ --version
|
||||
cd tests/
|
||||
ls
|
||||
g++ -std=c++11 -O2 -Wall -Wextra -Werror -I../ check_toml_test.cpp -o check_toml_test
|
||||
go get github.com/BurntSushi/toml-test
|
||||
$GOPATH/bin/toml-test ./check_toml_test
|
||||
output_result:
|
||||
docker:
|
||||
- image: circleci/buildpack-deps:bionic
|
||||
steps:
|
||||
@@ -42,4 +57,5 @@ workflows:
|
||||
version: 2.1
|
||||
test:
|
||||
jobs:
|
||||
- test
|
||||
- test_suite
|
||||
- output_result
|
||||
|
Reference in New Issue
Block a user