-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
67 lines (61 loc) · 1.16 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
language: cpp
sudo: required
os:
- linux
dist: focal
compiler:
- clang
- gcc
branches:
only:
- master
before_install:
- sudo apt update && sudo apt upgrade
- echo "Update and Upgrade\n"
- sudo sh scripts/build.sh
before_script:
- echo "Prepare to run the script"
after_script:
- echo "Finish running script"
script:
- echo "Start Building..."
- mkdir build && cd build
- cmake ..
- make -j4
- make clean
- echo "Finish Building..."
after_success:
- echo "Building successfully without error!"
after_failure:
- echo "Unable to build!"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:mutlaqja/ppa'
- sourceline: 'ppa:pch/phd2'
packages:
- make
- cmake
- indi-full
- phd2
- clang-11
- libwebsocketpp-dev
- libasio-dev
- libopencv-dev
- libcfitsio-dev
- libccfits-dev
- libssl-dev
- libnova-dev
- libgphoto2-dev
- libboost-dev
- libusb-1.0-0-dev
- libgsl-dev
- libcurl4-gnutls-dev
- libyaml-cpp-dev
- libglfw3-dev
- libgles-dev
hosts:
- ci.astroair.cn
notifications:
email: false