Skip to content

Commit

Permalink
build(travis): upgrade to ubuntu focal; try capnproto 0.7.0 [skip app…
Browse files Browse the repository at this point in the history
…veyor]
  • Loading branch information
lotem committed Sep 6, 2020
1 parent f8174bc commit f90180e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ matrix:
include:
- os: linux
compiler: gcc
dist: bionic
dist: focal
sudo: required
install: "./travis-install.sh"
script: make test
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ Follow the instructions to build librime on platforms other than Linux:
Build dependencies
---
- compiler with C++14 support
- capnproto>=0.7.0
- cmake>=2.8
- capnproto>=0.8.0
- libboost>=1.48
- libcapnp>=0.8.0
- libcapnp>=0.7.0
- libglog (optional)
- libleveldb
- libmarisa
Expand Down
9 changes: 2 additions & 7 deletions travis-install-linux.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#!/bin/bash

dep_packages=(
capnproto
doxygen
libboost-filesystem-dev
libboost-locale-dev
libboost-regex-dev
libboost-system-dev
libcapnp-dev
libgoogle-glog-dev
libleveldb-dev
libmarisa-dev
Expand All @@ -17,10 +19,3 @@ sudo apt-get install ${dep_packages[@]} -y
make thirdparty/gtest
make -C thirdparty/src/opencc build
sudo env "PATH=$PATH" make -C thirdparty/src/opencc install
(
cd thirdparty/src/capnproto/c++
autoreconf -i
./configure
make -j3 check
sudo make install
)

0 comments on commit f90180e

Please sign in to comment.