Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Widdershin committed Nov 25, 2021
1 parent c8fbb4f commit 3a646bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
language: generic
language: ruby
before_script:
- git submodule update --init --recursive
- ./emsdk/emsdk install 1.38.46
- ./emsdk/emsdk activate 1.38.46
- source ./emsdk/emsdk_env.sh
- make patch-mruby && make mruby-build
- export PATH=mruby/build/host/bin:$PATH
- export PATH=mruby/build/host/bin:$PATH
- npm install

script:
- make runtime
- make
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
default: build/prism.js build/bundle.js test

test: ./script/run-tests tests/js_bindings_test.rb
./script/run-tests
bundle exec ./script/run-tests

build/prism.js: src/prism.js
npx browserify src/prism.js -o build/prism.js
Expand Down

0 comments on commit 3a646bc

Please sign in to comment.