-
Notifications
You must be signed in to change notification settings - Fork 20
/
circle.yml
28 lines (27 loc) · 967 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
version: 2
# ------------------------------------------------------------------------------
# mbgl/ci:{version}-rtl-text is built from the Dockerfile at
# https://github.com/mapbox/mbgl-ci-images/rtl-text
# The base image sets up the build environment and has a (probably stale)
# clone of https://github.com/mapbox/mapbox-gl-rtl-text
# At build time, we sync the latest version of the repo and update npm
# packages.
jobs:
build:
docker:
- image: mbgl/ci:r2-rtl-text
working_directory: /src
steps:
- checkout
- run:
name: Update NPM packages
command: npm install
- run:
name: Build Emscripten-based ICU; Build mapbox-gl-rtl-text.min.js
command: ./build.sh
- run:
name: Test Arabic
command: npm test
- store_artifacts:
path: mapbox-gl-rtl-text.min.js
destination: .