diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..d2d4dd9 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,8 @@ +version: 2 +jobs: + build: + docker: + - image: circleci/ruby + steps: + - run: echo "Empty Circle CI config" + diff --git a/.travis.yml b/.travis.yml index ef6c822..6f3e55b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,4 @@ -sudo: false -os: - - linux - -language: node_js -node_js: - - "8" - -addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-4.8 +dist: bionic branches: # We need to whitelist the branches which we want to have "push" automation. @@ -19,17 +6,32 @@ branches: only: - master -env: - global: - - DISPLAY=:99.0 - matrix: - - CXX=g++-4.8 TEST_SUITE=test - matrix: fast_finish: true include: - - os: linux + - language: node_js node_js: "8" - env: CXX=g++-4.8 TEST_SUITE=test + env: TEST_SUITE=test + script: + - npm run $TEST_SUITE + + - language: rust + install: + - rustup component add rustfmt + script: + - cargo fmt --all -- --check -script: npm run $TEST_SUITE \ No newline at end of file + - language: rust + #rust: "1.27.2" + #env: EMSDK_VERSION=sdk-1.38.21-64bit + env: EMSDK_VERSION=latest-upstream + install: + # install emsdk + - git clone https://github.com/emscripten-core/emsdk.git + - ./emsdk/emsdk install $EMSDK_VERSION + - ./emsdk/emsdk activate $EMSDK_VERSION + - rustup target add asmjs-unknown-emscripten + script: + # activate Emscripten + - source ./emsdk/emsdk_env.sh + - make