OSDN Git Service
(root)
/
jnethack
/
source.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update build env for mac
[jnethack/source.git]
/
.travis.yml
diff --git
a/.travis.yml
b/.travis.yml
index
59c77da
..
1b30fe1
100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-1,11
+1,26
@@
language: c
language: c
+os:
+ - linux
+ - osx
+
+compiler:
+ - gcc
+
+osx_image: xcode11.3
+
addons:
apt:
packages:
- nkf
addons:
apt:
packages:
- nkf
+ homebrew:
+ packages:
+ - nkf
+ - gcc@9
+
+before_script:
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sh japanese/set_mac.sh ; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh japanese/set_lnx.sh ; fi
script:
script:
-- find . -type f |xargs nkf -e --overwrite
-- sh sys/unix/setup.sh sys/unix/hints/linux
-- make install
+ - make install