forked from CircuitVerse/CircuitVerse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
39 lines (31 loc) · 917 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
37
38
39
version: '1.0.{build}'
image: 'Visual Studio 2022'
cache:
- vendor/bundle
environment:
RAILS_ENV: test
COVERALLS_SERVICE_NAME: appveyor
nodejs_version: "14"
services:
- postgresql13
# Install scripts. (runs after repo cloning)
install:
- ps: Install-Product node $env:nodejs_version
- set PATH=C:\Ruby26-x64\bin;%PATH%
- ruby -v
- bundle config --local path vendor/bundle
- bundle install --with postgresql
- yarn
build: off
before_test:
- ruby -v
- gem install bundler
- 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