0.2.0-SNAPSHOT and add jenkinsfile

develop
brnrs 5 years ago
parent f121bfa40a
commit 6ce91bdec1
  1. 2
      Cargo.toml
  2. 20
      Jenkinsfile

@ -1,6 +1,6 @@
[package] [package]
name = "eventear" name = "eventear"
version = "0.1.0" version = "0.2.0-SNAPSHOT"
authors = ["brnrs <brnrs@brnrs.pl>"] authors = ["brnrs <brnrs@brnrs.pl>"]
edition = "2018" edition = "2018"
description = "A small crate for creating listeners for events and applying their changes to a state struct." description = "A small crate for creating listeners for events and applying their changes to a state struct."

20
Jenkinsfile vendored

@ -0,0 +1,20 @@
pipeline {
agent any
stages {
stage('update-rust') {
steps {
sh 'rustup update'
}
}
stage('build') {
steps {
sh 'cargo build --release --verbose'
}
}
stage('test') {
steps {
sh 'cargo test --release --verbose'
}
}
}
}
Loading…
Cancel
Save