Skip to content

Instantly share code, notes, and snippets.

@prasadtalasila
Last active May 16, 2017 16:40
Show Gist options
  • Save prasadtalasila/f2e946d37148f3ab37a01622054fce6a to your computer and use it in GitHub Desktop.
Save prasadtalasila/f2e946d37148f3ab37a01622054fce6a to your computer and use it in GitHub Desktop.
autolab setup for autolabcli
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
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