Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

feat: use test-suite to run functional tests #276

Merged
merged 12 commits into from
Jul 15, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: try printing visual bells to stdout
  • Loading branch information
jawid-h committed Jul 14, 2020
commit 21a12dd32bc496c9d37e320f8a9bae2a4c58e159
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ install:
- npm ci && npm link
# Go back to workdir
- cd $TRAVIS_BUILD_DIR
- travis_wait 30 export OUTPUT=$(mn setup-for-local-development 127.0.0.1 20001 --dapi-image-build-path=$TRAVIS_BUILD_DIR)
- travis_wait 30 ./scripts/print-visual-bells.sh &; export OUTPUT=$(mn setup-for-local-development 127.0.0.1 20001 --dapi-image-build-path=$TRAVIS_BUILD_DIR)

before_script:
- export PRIVATE_KEY=$(echo "$OUTPUT" | grep -m 1 "Private key:" | awk '{printf $4}')
Expand Down
9 changes: 9 additions & 0 deletions scripts/print-visual-bells.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

function write_visual_bells() {
while true; do
echo -en "\a"
sleep 10
done
}
write_visual_bells&