Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit e2f56ca

Browse files
authored
Merge pull request #68 from rustwasm/travis-ci
CI: Add Travis CI that ensures that we can build
2 parents 754d1fe + a66bb9f commit e2f56ca

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: rust
2+
3+
install:
4+
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
5+
- source ~/.nvm/nvm.sh
6+
- nvm install v10.5
7+
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f
8+
9+
script:
10+
- npm install
11+
- npm run build

crate/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(use_extern_macros)]
2-
31
#[macro_use]
42
extern crate cfg_if;
53

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"create-rust-webpack": ".bin/create-rust-webpack.js"
1313
},
1414
"devDependencies": {
15-
"@wasm-tool/wasm-pack-plugin": "0.1.2",
15+
"@wasm-tool/wasm-pack-plugin": "0.1.3",
1616
"html-webpack-plugin": "^3.2.0",
1717
"webpack": "^4.23.1",
1818
"webpack-cli": "^3.1.2",

0 commit comments

Comments
 (0)