mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Improve Travis reliability
Previously, we were using too many parallel instances of $CXX, which caused crashes. Now we use -j 2, which seems to work. Also, use fewer processes during testing.
This commit is contained in:
parent
c3b126df12
commit
6450c53c93
@ -1,4 +1,4 @@
|
||||
language: dart
|
||||
language: cpp
|
||||
sudo: required
|
||||
before_install:
|
||||
- ./travis/before_install.sh
|
||||
|
||||
@ -29,7 +29,7 @@ def to_gn_args(args):
|
||||
gn_args = {}
|
||||
|
||||
gn_args["is_debug"] = args.debug
|
||||
gn_args["is_clang"] = args.target_os not in ['android']
|
||||
gn_args["is_clang"] = args.clang and args.target_os not in ['android']
|
||||
|
||||
if args.target_os == 'android':
|
||||
gn_args["target_os"] = "android"
|
||||
@ -79,6 +79,9 @@ def main():
|
||||
parser.add_argument('--goma', default=True, action='store_true')
|
||||
parser.add_argument('--no-goma', dest='goma', action='store_false')
|
||||
|
||||
parser.add_argument('--clang', default=True, action='store_true')
|
||||
parser.add_argument('--no-clang', dest='clang', action='store_false')
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
command = ['gn', 'gen', '--check']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user