Skip to content

Commit

Permalink
Add CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Dec 29, 2019
1 parent 2053199 commit 30588ab
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions .genignore
@@ -0,0 +1 @@
meta/
4 changes: 4 additions & 0 deletions meta/README.md
@@ -0,0 +1,4 @@
# The meta folder

This folder is ignored via the `.genignore` file. It contains meta files
that should not make it into the generated project.
36 changes: 36 additions & 0 deletions meta/appveyor.yml
@@ -0,0 +1,36 @@
# This CI configuration tests the cosmwasm-template repository itself,
# not the resulting project. We want to ensure that
# 1. the template to project generation works
# 2. the template files are up to date
#
# We chose Appveyor for this task as it allows us to use an arbitrary config
# location. Furthermore it allows us to ship a Circle CI and Travis config
# generated for the resulting project.

environment:
matrix:
- TARGET: x86_64-pc-windows-msvc
CHANNEL: stable
- TARGET: x86_64-pc-windows-msvc
CHANNEL: nightly

install:
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init.exe --default-host %TARGET% --default-toolchain %CHANNEL% -y
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustc --version
- cargo --version
- cargo install cargo-generate --features vendored-openssl

build_script:
- cargo generate --git . --name TestGenerationInCi
- dir
- cd TestGenerationInCi
- cargo unit-test
- cargo wasm
- cargo test
- cargo schema
- cd ..

after_build:
- git status

0 comments on commit 30588ab

Please sign in to comment.