Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
tests on travisbuild.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sticknycu committed May 28, 2021
1 parent 4777e8f commit c2cc559
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions travisbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,25 @@ echo "Testing..."
ctest --output-on-failure --parallel 2

if [ "$TRAVIS_SCHEDULESQL_BUILD_TYPE" != "COVERAGE" ]; then
ls -a
chmod +x ScheduleSQL
./ScheduleSQL -c schedulesql.json -t root
cd root
ls -a
read schedulesql.json
export schedulesql=$(schedulesql.json)
if [ -f "$schedulesql" ]; then
echo "File found so it's ok"
FILE=schedulesql.json
if [ -f "$FILE" ]; then
echo "$FILE exists so it's ok."
else
echi "$FILE do not exist, so it's not ok."
exit 1
fi
EOF
./ScheduleSQL -d schedulesql.json -t root
cd root
ls -a
read schedulesql.json
export schedulesql=$(schedulesql.json)
if [ -f "$schedulesql" ]; then
FILE=schedulesql.json
if [ -f "$FILE" ]; then
echo "$FILE exists so it's not ok."
exit 1
else
echo "File not found so it's ok"
echi "$FILE do not exist, so it's ok."
fi
EOF
fi

0 comments on commit c2cc559

Please sign in to comment.