Last active
May 16, 2017 16:40
-
-
Save prasadtalasila/f2e946d37148f3ab37a01622054fce6a to your computer and use it in GitHub Desktop.
autolab setup for autolabcli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo: required | |
dist: trusty | |
language: node_js | |
node_js: | |
- "6" | |
cache: | |
apt: true | |
addons: | |
apt: | |
sources: | |
- ubuntu-toolchain-r-test | |
packages: | |
- gcc-6 | |
- g++-6 | |
services: | |
- mysql | |
before_script: | |
- git clone https://github.com/AutolabJS/AutolabJS.git | |
- cd AutolabJS | |
- bash tests/install.sh | |
- head -n 69 tests/test.sh > tests/autolab-setup.sh | |
- bash tests/autolab-setup.sh | |
- cd .. | |
script: | |
- bash test/test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) update .travis.yml for autolabcli with autolab setup part; a sample .travis.yml is given below. | |
2) setup and run tests for autolabcli. There is already a directory named 'test'. The convention is: | |
unit tests ----------------------------> test/unit | |
integration tests ---------------------> test/integration | |
functional / acceptance tests ---------> test/functional (autolab setup needed here) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment