Skip to content

Commit

Permalink
Add multi-language(rust+node) build for Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
meenakshi-dhanani committed Mar 31, 2020
1 parent 18431d4 commit 71f6d3a
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
language: rust

sudo: required

matrix:
include:
- language: rust
rust: 1.42.0
branches:
only:
- master
addons:
apt:
packages:
- ca-certificates
- file
- build-essential
- autoconf
- automake
- autotools-dev
- libtool
- xutils-dev
- cmake
- pkg-config
- libfreetype6-dev
- libfontconfig1-dev
- xclip
script:
- cd $TRAVIS_BUILD_DIR/engine && cargo build --verbose --all && cargo test --verbose --all
- language: node_js
node_js: 12.16
branches:
only:
- master
before_script:
- npm install yarn
script:
- cd $TRAVIS_BUILD_DIR/web && yarn install && yarn test --watchAll=false
- cd $TRAVIS_BUILD_DIR/server && npm install && npm run test

0 comments on commit 71f6d3a

Please sign in to comment.