Skip to content

Commit

Permalink
Merge pull request #583 from NREL/add-osa-schema
Browse files Browse the repository at this point in the history
OSA Schema
  • Loading branch information
brianlball committed Jul 22, 2020
2 parents 2d0c022 + 1b65580 commit 8523280
Show file tree
Hide file tree
Showing 13 changed files with 3,296 additions and 21,693 deletions.
5 changes: 5 additions & 0 deletions ci/travis/setup.sh
Expand Up @@ -42,6 +42,11 @@ else
export GEM_HOME="$TRAVIS_BUILD_DIR/gems"
export GEM_PATH="$TRAVIS_BUILD_DIR/gems:$TRAVIS_BUILD_DIR/gems/bundler/gems"

# set the ulimit to be higher
ulimit -a
ulimit -n 2048
ulimit -a

elif [ "${TRAVIS_OS_NAME}" == "linux" ]; then
echo "Setting up Ubuntu for unit tests and Rubocop"
# install pipe viewer to throttle printing logs to screen (not a big deal in linux, but it is in osx)
Expand Down
1 change: 1 addition & 0 deletions ci/travis/test.sh
Expand Up @@ -31,6 +31,7 @@ else
# run unit tests via openstudio_meta run_rspec command which attempts to reproduce the PAT local environment
# prior to running tests, so we should not set enviroment variables here
if [ "${BUILD_TYPE}" == "test" ];then
ulimit -a
echo "starting unit tests. RUBYLIB=$RUBYLIB ; OPENSTUDIO_TEST_EXE=$OPENSTUDIO_TEST_EXE"
ruby "${TRAVIS_BUILD_DIR}/bin/openstudio_meta" run_rspec --debug --verbose --mongo-dir="$mongo_dir" --openstudio-exe="$OPENSTUDIO_TEST_EXE" "${TRAVIS_BUILD_DIR}/spec/unit-test"
exit_status=$?
Expand Down
2 changes: 2 additions & 0 deletions server/Gemfile
Expand Up @@ -123,4 +123,6 @@ group :development, :test do
gem 'factory_bot_rails', '4.11.1' # 5.0.2 require ruby 2.3
gem 'mongoid-rspec'
gem 'rspec-html-matchers', '0.8.1'

gem 'json-schema', '2.8.0'
end

0 comments on commit 8523280

Please sign in to comment.