forked from pschlan/cron-job.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
53 lines (53 loc) · 1.66 KB
/
.travis.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
dist: bionic
jobs:
include:
- name: Chronos
language: generic
os: linux
env: COMPILER_NAME=gcc CXX=g++-5 CC=gcc-5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5
- libev-dev
- libsqlite-dev
- libmysqlclient-dev
- libboost-all-dev
- libssl-dev
- flex
- bison
- pkg-config
before_script:
- wget https://curl.haxx.se/download/curl-7.78.0.tar.gz
- tar -xzf curl-7.78.0.tar.gz
- pushd curl-7.78.0 && ./configure --prefix=/usr/local --with-openssl && make && sudo make install && popd
- wget https://ftp.fau.de/apache/thrift/0.13.0/thrift-0.13.0.tar.gz
- tar -xzf thrift-0.13.0.tar.gz
- pushd thrift-0.13.0 && ./configure --prefix=/usr --with-php=no --with-erlang=no --with-go=no --with-java=no --with-python=no --with-py3=no --with-ruby=no --with-nodejs=no --with-c_glib=no --with-cpp=yes && make && sudo make install && popd
script:
- mkdir ${TRAVIS_BUILD_DIR}/build
- cd ${TRAVIS_BUILD_DIR}/build
- cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. && make
- name: Frontend
language: node_js
node_js:
- 16
before_script:
- cd ${TRAVIS_BUILD_DIR}/frontend
- cp src/utils/Config.default.js src/utils/Config.js
- npm install
script:
- npm run build
- name: StatusPage
language: node_js
node_js:
- 16
before_script:
- cd ${TRAVIS_BUILD_DIR}/statuspage
- cp src/utils/Config.default.js src/utils/Config.js
- npm install
script:
- npm run build