forked from CircuitVerse/CircuitVerse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
36 lines (28 loc) · 849 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '1.0.{build}'
cache:
- vendor/bundle
environment:
RAILS_ENV: test
COVERALLS_SERVICE_NAME: appveyor
nodejs_version: "12"
services:
- postgresql95
# Install scripts. (runs after repo cloning)
install:
- ps: Install-Product node $env:nodejs_version
- set PATH=C:\Ruby26\bin;%PATH%
- bundle config --local path vendor/bundle
- bundle install --with postgresql
- yarn
build: off
before_test:
- ruby -v
- gem -v
- bundle -v
- copy config\database.appveyor.yml config\database.yml
- ruby bin\rake db:create
- ruby bin\rails db:schema:load
- openssl genrsa -out config/private.pem 2048
- openssl rsa -in config/private.pem -outform PEM -pubout -out config/public.pem
test_script:
- bundle exec rspec --format RspecJunitFormatter --out test_results/rspec.xml --format progress --tag ~@skip_windows